@chriscdn/promise-semaphore 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/jest.config.js +4 -4
  2. package/package.json +7 -3
package/jest.config.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** @type {import('ts-jest').JestConfigWithTsJest} */
2
- module.exports = {
3
- preset: 'ts-jest',
4
- testEnvironment: 'node',
5
- };
2
+ export default {
3
+ preset: "ts-jest",
4
+ testEnvironment: "node",
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chriscdn/promise-semaphore",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Limit or throttle the simultaneous execution of asynchronous code in separate iterations of the event loop.",
5
5
  "repository": "https://github.com/chriscdn/promise-semaphore",
6
6
  "author": "Christopher Meyer <chris@schwiiz.org>",
@@ -17,10 +17,14 @@
17
17
  "types": "./lib/index.d.ts",
18
18
  "scripts": {
19
19
  "build": "rm -rf ./lib/ && microbundle",
20
- "dev": "microbundle watch"
20
+ "dev": "microbundle watch",
21
+ "test": "jest"
21
22
  },
22
23
  "devDependencies": {
23
- "microbundle": "^0.15.1"
24
+ "@types/jest": "^29.5.5",
25
+ "jest": "^29.7.0",
26
+ "microbundle": "^0.15.1",
27
+ "ts-jest": "^29.1.1"
24
28
  },
25
29
  "keywords": [
26
30
  "promise",