File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ v15.1.19] ( https://github.com/tanem/react-svg/tree/v15.1.19 ) (2023-01-13)
4+ [ Full Changelog] ( https://github.com/tanem/react-svg/compare/v15.1.18...v15.1.19 )
5+
6+ #### :house : Internal
7+
8+ - [ #2118 ] ( https://github.com/tanem/react-svg/pull/2118 ) Update typescript-eslint monorepo to v5.48.1 ([ @renovate [ bot]] ( https://github.com/apps/renovate ) )
9+ - [ #2117 ] ( https://github.com/tanem/react-svg/pull/2117 ) Update dependency prettier to v2.8.2 ([ @renovate [ bot]] ( https://github.com/apps/renovate ) )
10+ - [ #2116 ] ( https://github.com/tanem/react-svg/pull/2116 ) Bump @rollup/plugin-terser ([ @tanem ] ( https://github.com/tanem ) )
11+ - [ #2115 ] ( https://github.com/tanem/react-svg/pull/2115 ) Update dependency jest-prettyhtml-matchers to v1.14.6 ([ @renovate [ bot]] ( https://github.com/apps/renovate ) )
12+ - [ #2114 ] ( https://github.com/tanem/react-svg/pull/2114 ) Update dependency @tanem/svg-injector to ^10.1.42 ([ @renovate [ bot]] ( https://github.com/apps/renovate ) )
13+ - [ #2113 ] ( https://github.com/tanem/react-svg/pull/2113 ) Update dependency @babel/core to v7.20.12 ([ @renovate [ bot]] ( https://github.com/apps/renovate ) )
14+
315## [ v15.1.18] ( https://github.com/tanem/react-svg/tree/v15.1.18 ) (2023-01-06)
416[ Full Changelog] ( https://github.com/tanem/react-svg/compare/v15.1.17...v15.1.18 )
517
Original file line number Diff line number Diff line change 11{
22 "name" : " react-svg" ,
3- "version" : " 15.1.18 " ,
3+ "version" : " 15.1.19 " ,
44 "description" : " A React component that injects SVG into the DOM." ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/react-svg.esm.js" ,
Original file line number Diff line number Diff line change 1+ // Hat-tip: https://github.com/mui/material-ui/tree/master/packages/mui-utils/src.
2+
3+ const ownerDocument = ( node ?: Node | null ) => {
4+ return ( node && node . ownerDocument ) || document
5+ }
6+
7+ const ownerWindow = ( node ?: Node | null ) => {
8+ const doc = ownerDocument ( node )
9+ return doc . defaultView || window
10+ }
11+
12+ export default ownerWindow
You can’t perform that action at this time.
0 commit comments