New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

run-exclusive

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

run-exclusive - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

79

package.json
{
"name": "run-exclusive",
"version": "2.1.6",
"description": "Generate functions that do not allow parallel executions",
"repository": {
"type": "git",
"url": "git://github.com/garronej/run-exclusive.git"
},
"main": "./dist/lib/runExclusive.js",
"types": "./dist/lib/runExclusive.d.ts",
"scripts": {
"tsc": "npx tsc -p ./tsconfig.json",
"test": "node ./dist/test/index"
},
"author": "Joseph Garrone",
"license": "MIT",
"keywords": [
"mutex",
"async-await",
"lock",
"callback",
"promise",
"typescript",
"type-safe"
],
"homepage": "https://garronej.github.io/run-exclusive",
"dependencies": {
"minimal-polyfills": "^1.0.3"
},
"devDependencies": {
"@types/node": "^10.3.2",
"colors": "^1.3.0",
"ts-evt": "^4.3.3",
"typescript": "^2.9.1"
}
"name": "run-exclusive",
"version": "2.1.7",
"description": "Generate functions that do not allow parallel executions",
"repository": {
"type": "git",
"url": "git://github.com/garronej/run-exclusive.git"
},
"main": "./dist/lib/runExclusive.js",
"types": "./dist/lib/runExclusive.d.ts",
"scripts": {
"tsc": "npx tsc",
"denoify": "npx denoify",
"build": "npm run tsc && npm run denoify",
"test": "node ./dist/test/index"
},
"author": "Joseph Garrone",
"license": "MIT",
"keywords": [
"deno",
"mutex",
"async-await",
"lock",
"callback",
"promise",
"typescript",
"type-safe"
],
"homepage": "https://garronej.github.io/run-exclusive",
"dependencies": {
"minimal-polyfills": "^1.0.3"
},
"devDependencies": {
"@types/node": "^10.3.2",
"ts-evt": "^4.3.3",
"typescript": "^2.9.1",
"denoify": "github:garronej/denoify"
},
"files": [
"/dist/lib",
"/src/lib",
"/tsconfig.json"
],
"deno": {
"url": "https://deno.land/x/run-eclusive/mod.ts"
}
}

@@ -21,11 +21,27 @@ <p align="center">

<b>Browserify friendly:</b>
<b>Suitable for any JS runtime env (deno, node, old browser, react-native ...)</b>
- No polyfills needed, transpile down to ES3 ✅
- Ultra light, no dependency ✅
- Cross compatible node/deno
- No polyfills needed ✅
- Transpiled down to ES3 ✅
- Ultra light ✅
# Install / Import
## Deno
```typescript
import * as runExclusive from "https://deno.land/x/run-eclusive/mod.ts";
```
## Other javascript runtime environnement:
```bash
> npm install --save run-exclusive
```
```typescript
import * as runExclusive from "run-exclusive";
```
# Try it now
Thanks to Stackblitz you can try this lib with within your browser like if you where in VSCode.
Thanks to Stackblitz you can try this lib within your browser like if you where in VSCode.

@@ -32,0 +48,0 @@ <p align="center">

{
"compilerOptions": {
"module": "commonjs",
"target": "es3",
"lib": [
"es5",
"es2015"
],
"declaration": true,
"outDir": "./dist",
"strictNullChecks": true,
"sourceMap": false,
"newLine": "LF",
"downlevelIteration": true
},
"filesGlob": [
"./src/**/*.ts"
]
}
"compilerOptions": {
"module": "commonjs",
"target": "es3",
"lib": [
"es5",
"es2015"
],
"declaration": true,
"outDir": "./dist",
"strictNullChecks": true,
"sourceMap": false,
"newLine": "LF",
"downlevelIteration": true
},
"filesGlob": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist/**/*",
"deno_dist/**/*",
"./mod.ts"
]
}
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