react-inlinesvg
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -1,10 +0,10 @@ | ||
import { JSX } from 'react'; | ||
import { ReactNode } from 'react'; | ||
interface Props { | ||
children: JSX.Element; | ||
children: ReactNode; | ||
name?: string; | ||
} | ||
declare function CacheProvider({ children, name }: Props): JSX.Element; | ||
declare function CacheProvider({ children, name }: Props): ReactNode; | ||
export { CacheProvider as default }; | ||
export = CacheProvider |
{ | ||
"name": "react-inlinesvg", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "An SVG loader for React", | ||
@@ -54,16 +54,17 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", | ||
"dependencies": { | ||
"react-from-dom": "^0.6.2" | ||
"react-from-dom": "^0.7.1" | ||
}, | ||
"devDependencies": { | ||
"@gilbarbara/eslint-config": "^0.7.3", | ||
"@arethetypeswrong/cli": "^0.15.0", | ||
"@gilbarbara/eslint-config": "^0.7.4", | ||
"@gilbarbara/prettier-config": "^1.0.0", | ||
"@gilbarbara/tsconfig": "^0.2.3", | ||
"@size-limit/preset-small-lib": "^11.0.2", | ||
"@testing-library/jest-dom": "^6.2.1", | ||
"@testing-library/react": "^14.1.2", | ||
"@types/node": "^20.11.5", | ||
"@types/react": "^18.2.48", | ||
"@types/react-dom": "^18.2.18", | ||
"@testing-library/jest-dom": "^6.4.2", | ||
"@testing-library/react": "^14.2.1", | ||
"@types/node": "^20.11.21", | ||
"@types/react": "^18.2.60", | ||
"@types/react-dom": "^18.2.19", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"@vitest/coverage-v8": "^1.2.1", | ||
"@vitest/coverage-v8": "^1.3.1", | ||
"browser-cache-mock": "^0.1.7", | ||
@@ -73,3 +74,3 @@ "del-cli": "^5.1.0", | ||
"http-server": "^14.1.1", | ||
"husky": "^8.0.3", | ||
"husky": "^9.0.11", | ||
"jest-extended": "^4.0.2", | ||
@@ -83,5 +84,5 @@ "jsdom": "^24.0.0", | ||
"ts-node": "^10.9.2", | ||
"tsup": "^8.0.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.2.1", | ||
"vitest": "^1.3.1", | ||
"vitest-fetch-mock": "^0.2.2" | ||
@@ -99,7 +100,8 @@ }, | ||
"typecheck": "tsc -p test/tsconfig.json", | ||
"typevalidation": "attw -P", | ||
"size": "size-limit", | ||
"validate": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run size", | ||
"validate": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run size && npm run typevalidation", | ||
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write", | ||
"prepublishOnly": "pnpm run validate", | ||
"prepare": "husky install" | ||
"prepare": "husky" | ||
}, | ||
@@ -106,0 +108,0 @@ "tsup": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132192
29
+ Addedreact-from-dom@0.7.3(transitive)
- Removedreact-from-dom@0.6.2(transitive)
Updatedreact-from-dom@^0.7.1