oblivious-set
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "oblivious-set", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Like a JavaScript Set() but with a TTL for entries", | ||
"keywords": [ | ||
"set", | ||
"oblivious", | ||
"cache" | ||
], | ||
"license": "MIT", | ||
"main": "./dist/lib/index.js", | ||
"jsnext:main": "./dist/es/index.js", | ||
"module": "./dist/es/index.js", | ||
"types": "./dist/es/index.d.ts", | ||
"exports": { | ||
".": { | ||
"default": { | ||
"types": "./dist/esm/src/index.d.ts", | ||
"import": "./dist/esm/src/index.js", | ||
"default": "./dist/cjs/src/index.es5.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./dist/cjs/src/index.es5.js", | ||
"module": "./dist/esm/src/index.js", | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"types": "./dist/esm/src/index.d.ts", | ||
"sideEffects": false, | ||
@@ -19,6 +36,6 @@ "repository": { | ||
"lint:fix": "tslint --project . --fix", | ||
"transpile": "tsc -p ./ && echo '# transpile es5 (require) sucess!'", | ||
"transpile:es": "tsc -p ./ --module ES6 --outDir ./dist/es && echo '# transpile es (modules) sucess!'", | ||
"transpile": "tsc -p ./ --module commonjs && echo '# transpile es5 (require) sucess!'", | ||
"transpile:es": "tsc -p ./ --outDir ./dist/esm && echo '{ \"type\": \"module\", \"sideEffects\": false }' > dist/esm/src/package.json && echo '# transpile esm (modules) sucess!'", | ||
"build": "rimraf -r ./dist && npm run transpile && npm run transpile:es", | ||
"test": "mocha -r ts-node/register test/unit.test.ts --timeout 20000 --bail" | ||
"test": "npm run build && mocha ./dist/cjs/test/unit.test.js --timeout 40000 --bail" | ||
}, | ||
@@ -25,0 +42,0 @@ "author": "pubkey", |
{ | ||
"compilerOptions": { | ||
"moduleResolution": "node", | ||
"target": "ES2022", | ||
"removeComments": false, | ||
@@ -7,3 +9,3 @@ "preserveConstEnums": true, | ||
"strictNullChecks": true, | ||
"noImplicitAny": false, | ||
"noImplicitAny": true, | ||
"strict": true, | ||
@@ -13,7 +15,5 @@ "noImplicitReturns": true, | ||
"downlevelIteration": true, | ||
"esModuleInterop": true, | ||
"declaration": true, | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"target": "es2022", | ||
"outDir": "./dist/lib", | ||
"outDir": "./dist/cjs", | ||
"lib": [ | ||
@@ -29,3 +29,4 @@ "es7", | ||
"include": [ | ||
"src" | ||
"src", | ||
"test" | ||
], | ||
@@ -32,0 +33,0 @@ "exclude": [ |
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
27002
21
569
1