react-inlinesvg 4.1.6 → 4.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -70,6 +70,6 @@ declare class CacheStore {
70
70
  }
71
71
 
72
72
  declare let cacheStore: CacheStore;
73
- declare function InlineSVG(props: Props): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
73
+ declare function InlineSVG(props: Props): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
74
74
 
75
75
  export { type ErrorCallback, type FetchError, type LoadCallback, type PlainObject, type PreProcessorCallback, type Props, type Simplify, type State, type Status, type StorageItem, cacheStore, InlineSVG as default };
package/dist/index.d.ts CHANGED
@@ -70,7 +70,7 @@ declare class CacheStore {
70
70
  }
71
71
 
72
72
  declare let cacheStore: CacheStore;
73
- declare function InlineSVG(props: Props): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
73
+ declare function InlineSVG(props: Props): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
74
74
 
75
75
  export { type ErrorCallback, type FetchError, type LoadCallback, type PlainObject, type PreProcessorCallback, type Props, type Simplify, type State, type Status, type StorageItem, cacheStore, InlineSVG as default };
76
76
  export = InlineSVG
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-inlinesvg",
3
- "version": "4.1.6",
3
+ "version": "4.1.7",
4
4
  "description": "An SVG loader for React",
5
5
  "author": "Gil Barbara <gilbarbara@gmail.com>",
6
6
  "contributors": [
@@ -62,8 +62,8 @@
62
62
  "@testing-library/jest-dom": "^6.6.3",
63
63
  "@testing-library/react": "^16.1.0",
64
64
  "@types/node": "^22.10.6",
65
- "@types/react": "^19.0.7",
66
- "@types/react-dom": "^19.0.3",
65
+ "@types/react": "^18.3.18",
66
+ "@types/react-dom": "^18.3.5",
67
67
  "@vitejs/plugin-react": "^4.3.4",
68
68
  "@vitest/coverage-v8": "^2.1.8",
69
69
  "browser-cache-mock": "^0.1.7",
@@ -73,8 +73,8 @@
73
73
  "husky": "^9.1.7",
74
74
  "jest-extended": "^4.0.2",
75
75
  "jsdom": "^26.0.0",
76
- "react": "^19.0.0",
77
- "react-dom": "^19.0.0",
76
+ "react": "^18.3.1",
77
+ "react-dom": "^18.3.1",
78
78
  "repo-tools": "^0.3.1",
79
79
  "size-limit": "^11.1.6",
80
80
  "start-server-and-test": "^2.0.10",