getorset-anything
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "getorset-anything", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.", | ||
"type": "module", | ||
"sideEffects": false, | ||
"type": "module", | ||
"description": "Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.", | ||
"module": "./dist/index.es.js", | ||
"main": "./dist/index.cjs", | ||
"types": "./dist/types/index.d.ts", | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"types": "./dist/types/index.d.ts", | ||
"import": "./dist/index.es.js", | ||
"require": "./dist/index.cjs" | ||
"require": { | ||
"types": "./dist/cjs/index.d.cts", | ||
"default": "./dist/cjs/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
} | ||
@@ -24,7 +29,6 @@ }, | ||
"scripts": { | ||
"clean": "del ./dist", | ||
"lint": "tsc --noEmit && eslint ./src --ext .ts", | ||
"test": "vitest run", | ||
"build": "rollup --bundleConfigAsCjs -c ./scripts/build.js", | ||
"release": "npm run lint && npm run clean && npm run build && np" | ||
"build": "rollup -c ./rollup.config.js", | ||
"release": "npm run lint && del dist && npm run build && np" | ||
}, | ||
@@ -62,7 +66,6 @@ "repository": { | ||
"homepage": "https://github.com/mesqueeb/getorset-anything#readme", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.59.2", | ||
"@typescript-eslint/parser": "^5.59.2", | ||
"del-cli": "^4.0.1", | ||
"del-cli": "^5.0.0", | ||
"eslint": "^8.40.0", | ||
@@ -73,4 +76,5 @@ "eslint-config-prettier": "^8.8.0", | ||
"prettier": "^2.8.8", | ||
"rollup": "^3.21.5", | ||
"rollup-plugin-typescript2": "^0.34.1", | ||
"rollup": "^3.23.0", | ||
"rollup-plugin-dts": "^5.3.0", | ||
"rollup-plugin-esbuild": "^5.0.0", | ||
"typescript": "^4.9.5", | ||
@@ -77,0 +81,0 @@ "vitest": "^0.31.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
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
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
7
9344
13
65
1