run-exclusive
Advanced tools
Comparing version 2.1.6 to 2.1.7
{ | ||
"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" | ||
] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
314
39469
7
743
1