uncontrollable
Advanced tools
Comparing version 8.0.4 to 9.0.0
{ | ||
"name": "uncontrollable", | ||
"version": "8.0.4", | ||
"version": "9.0.0", | ||
"description": "Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled", | ||
@@ -14,4 +14,17 @@ "author": { | ||
"license": "MIT", | ||
"main": "lib/cjs/index.js", | ||
"module": "lib/esm/index.js", | ||
"main": "cjs/index.js", | ||
"module": "lib/index.js", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./cjs/index.d.ts", | ||
"default": "./cjs/index.js" | ||
}, | ||
"import": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./lib/index.js" | ||
} | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -26,8 +39,16 @@ "uncontrolled-component", | ||
"scripts": { | ||
"test": "jest", | ||
"tdd": "jest --watch", | ||
"build": "build src", | ||
"test": "vitest --run --environment jsdom", | ||
"tdd": "vitest --environment jsdom", | ||
"build:esm": "babel src --out-dir lib --delete-dir-on-start --extensions '.ts' --ignore='**/*.d.ts'", | ||
"build:esm:types": "tsc -p . --emitDeclarationOnly --declaration --outDir lib", | ||
"build:cjs": "babel src --out-dir cjs --env-name cjs --delete-dir-on-start --extensions '.ts' --ignore='**/*.d.ts' && echo '{\"type\": \"commonjs\"}' > cjs/package.json", | ||
"build:cjs:types": "tsc -p . --emitDeclarationOnly --declaration --outDir cjs --module commonjs --moduleResolution node", | ||
"build": "yarn build:esm && yarn build:esm:types && yarn build:cjs && yarn build:cjs:types", | ||
"prepublishOnly": "npm run build", | ||
"release": "rollout --conventionalCommits" | ||
}, | ||
"files": [ | ||
"lib", | ||
"cjs" | ||
], | ||
"prettier": { | ||
@@ -39,22 +60,15 @@ "singleQuote": true | ||
}, | ||
"jest": { | ||
"testEnvironment": "jsdom" | ||
}, | ||
"devDependencies": { | ||
"@4c/build": "^4.0.0", | ||
"@4c/rollout": "^4.0.2", | ||
"@4c/tsconfig": "^0.4.1", | ||
"@types/react": ">=18.0.28", | ||
"@babel/cli": "^7.21.0", | ||
"@babel/core": "^7.21.0", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/plugin-transform-modules-commonjs": "^7.26.3", | ||
"@babel/preset-typescript": "^7.21.0", | ||
"@testing-library/react": "^14.0.0", | ||
"babel-jest": "^29.5.0", | ||
"babel-preset-env-modules": "^1.0.1", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"@types/react": ">=18.0.28", | ||
"jsdom": "^25.0.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"typescript": "^4.9.5" | ||
"typescript": "^5.6.0", | ||
"vitest": "^2.1.8" | ||
}, | ||
@@ -64,3 +78,4 @@ "bugs": { | ||
}, | ||
"homepage": "https://github.com/jquense/uncontrollable#readme" | ||
"homepage": "https://github.com/jquense/uncontrollable#readme", | ||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |
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
12
Yes
15676
8
118
1