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

@domql/key

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/key - npm Package Compare versions

Comparing version 2.3.82 to 2.3.102

dist/cjs/index.js

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"
}
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