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

limit-once

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

limit-once - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

dist/cjs/index.cjs

33

package.json

@@ -13,3 +13,3 @@ {

"license": "MIT",
"version": "0.6.0",
"version": "0.7.0",
"private": false,

@@ -20,20 +20,8 @@ "repository": {

},
"sideEffects": false,
"type": "module",
"sideEffects": false,
"scripts": {
"prepublishOnly": "bun build:all",
"build:all": "bun build:clean && bun build:dist:esm && bun build:dist:cjs && bun build:types",
"build:clean": "rimraf dist",
"build:dist:esm": "esbuild ./src/* --outdir=./dist/esm --format=esm",
"build:dist:cjs": "esbuild ./src/* --outdir=./dist/cjs --format=cjs",
"build:types": "tsc ./src/* --outDir ./dist/esm --declaration --emitDeclarationOnly --skipLibCheck",
"check:all": "bun check:prettier && bun check:typescript",
"check:prettier": "prettier --debug-check src/**/*.ts test/**/*.ts",
"check:typescript": "tsc"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": "./dist/esm/index.js"
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"types": "./dist/esm/index.d.ts"
},

@@ -59,3 +47,14 @@ "files": [

"typescript": "^5.4.5"
},
"scripts": {
"prepublishOnly": "bun build:all",
"build:all": "bun build:clean && bun build:dist:esm && bun build:dist:cjs && bun build:types",
"build:clean": "rimraf dist",
"build:dist:esm": "esbuild ./src/* --outdir=./dist/esm --format=esm",
"build:dist:cjs": "esbuild ./src/* --outdir=./dist/cjs --format=cjs --out-extension:.js=.cjs",
"build:types": "tsc ./src/* --outDir ./dist/esm --declaration --emitDeclarationOnly --skipLibCheck",
"check:all": "bun check:prettier && bun check:typescript",
"check:prettier": "prettier --debug-check src/**/*.ts test/**/*.ts",
"check:typescript": "tsc"
}
}
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