react-cookie
Advanced tools
Comparing version 7.0.0 to 7.0.1
{ | ||
"name": "react-cookie", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Universal cookies for React", | ||
"main": "cjs/index.js", | ||
"types": "cjs/index.d.ts", | ||
"module": "esm/index.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.mjs", | ||
"require": "./cjs/index.js" | ||
"import": { | ||
"types": "./esm/index.d.ts", | ||
"default": "./esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./cjs/index.d.ts", | ||
"default": "./cjs/index.js" | ||
}, | ||
"default": "./cjs/index.js" | ||
} | ||
}, | ||
"types": "esm/index.d.ts", | ||
"sideEffects": false, | ||
@@ -37,4 +45,3 @@ "files": [ | ||
"prebuild": "rimraf esm && rimraf cjs && rimraf umd", | ||
"build": "rollup -c", | ||
"postbuild": "rimraf -G {cjs,umd}/*.d.ts" | ||
"build": "rollup -c" | ||
}, | ||
@@ -50,4 +57,4 @@ "dependencies": { | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^2.7.1", | ||
"rollup": "^4.9.1", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.9.2", | ||
"typescript": "^5.3.3" | ||
@@ -54,0 +61,0 @@ }, |
@@ -39,7 +39,7 @@ <h3 align="center"> | ||
crossorigin | ||
src="https://unpkg.com/universal-cookie@6/umd/universalCookie.min.js" | ||
src="https://unpkg.com/universal-cookie@7/umd/universalCookie.min.js" | ||
></script> | ||
<script | ||
crossorigin | ||
src="https://unpkg.com/react-cookie@6/umd/reactCookie.min.js" | ||
src="https://unpkg.com/react-cookie@7/umd/reactCookie.min.js" | ||
></script> | ||
@@ -46,0 +46,0 @@ ``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
54677
0