@domql/key
Advanced tools
Comparing version 2.3.82 to 2.3.102
16
index.js
'use strict' | ||
import 'regenerator-runtime/runtime' | ||
export const createKey = (function () { | ||
let index = 0 | ||
const id = function * () { | ||
let index = 1 | ||
while (index < index + 1) { | ||
yield index++ | ||
function newId () { | ||
index++ | ||
return index | ||
} | ||
} | ||
export const createKey = id() | ||
return newId | ||
})() | ||
export const createSnapshotId = createKey |
{ | ||
"name": "@domql/key", | ||
"version": "2.3.82", | ||
"main": "index.js", | ||
"version": "2.3.102", | ||
"license": "MIT", | ||
"dependencies": { | ||
"regenerator-runtime": "^0.13.9" | ||
"type": "module", | ||
"module": "dist/esm/index.js", | ||
"unpkg": "dist/iife/index.js", | ||
"jsdelivr": "dist/iife/index.js", | ||
"main": "dist/esm/index.js", | ||
"exports": "./dist/cjs/index.js", | ||
"source": "index.js", | ||
"files": [ | ||
"*.js", | ||
"dist" | ||
], | ||
"scripts": { | ||
"copy:package:cjs": "cp ../../.build/package-cjs.json dist/cjs/package.json", | ||
"build:esm": "npx esbuild *.js --target=es2020 --format=esm --outdir=dist/esm", | ||
"build:cjs": "npx esbuild *.js --target=node16 --format=cjs --outdir=dist/cjs", | ||
"build:iife": "npx esbuild *.js --target=node16 --format=iife --outdir=dist/iife", | ||
"build": "yarn build:cjs", | ||
"prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs" | ||
}, | ||
"gitHead": "6d358ffa05e6acdceacc1d053fdb00449610b43a", | ||
"source": "index.js" | ||
"gitHead": "8e94a617a1e07a1575ed8a0c797822788fc4cfd6" | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3273
0
5
43
0
Yes
- Removedregenerator-runtime@^0.13.9
- Removedregenerator-runtime@0.13.11(transitive)