Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oblivious-set

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oblivious-set - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

dist/cjs/src/index.d.ts

33

package.json
{
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc