thaw 5.0.2 → 5.0.4

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.
package/README.md CHANGED
@@ -4,7 +4,7 @@ This package provides **narrow-trench** methods for aspect-oriented programming
4
4
 
5
5
  ## Prerequisites
6
6
 
7
- * Node.js `>= 20.x`
7
+ * Node.js `>= 20.0.0`
8
8
 
9
9
  ## Installation
10
10
 
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "author": {
3
- "name": "Yehor Sergeenko",
4
3
  "email": "yehor.sergeenko@gmail.com",
4
+ "name": "Yehor Sergeenko",
5
5
  "url": "https://github.com/bricss"
6
6
  },
7
7
  "bugs": {
8
8
  "url": "https://github.com/bricss/thaw/issues"
9
9
  },
10
+ "description": "The narrow belt for AOP 🎀",
10
11
  "devDependencies": {
11
- "@babel/cli": "^7.28.3",
12
- "@babel/core": "^7.28.5",
13
- "@babel/eslint-parser": "^7.28.5",
14
- "@babel/preset-env": "^7.28.5",
12
+ "@babel/cli": "^7.28.6",
13
+ "@babel/core": "^7.29.0",
14
+ "@babel/eslint-parser": "^7.28.6",
15
+ "@babel/preset-env": "^7.29.0",
15
16
  "c8": "^10.1.3",
16
17
  "eslint": "^9.39.2",
17
- "eslint-config-ultra-refined": "^3.8.4",
18
+ "eslint-config-ultra-refined": "^3.8.5",
18
19
  "mocha": "^11.7.5"
19
20
  },
20
- "description": "The narrow belt for AOP 🎀",
21
21
  "engines": {
22
- "node": ">=20.x"
22
+ "node": ">=20.0.0"
23
23
  },
24
24
  "exports": {
25
- "import": "./src/index.mjs",
26
- "require": "./dist/index.js"
25
+ "import": "./src/index.js",
26
+ "require": "./dist/index.cjs"
27
27
  },
28
28
  "files": [
29
29
  "dist",
@@ -42,12 +42,14 @@
42
42
  "url": "git+https://github.com/bricss/thaw.git"
43
43
  },
44
44
  "scripts": {
45
- "build": "rm -rf dist && npx babel src -d dist",
46
- "lint": "eslint",
47
- "prepack": "npm run build",
45
+ "build": "rm -rf dist && npx babel src --out-dir dist --out-file-extension .cjs",
46
+ "lint": "eslint --concurrency=auto",
47
+ "prepack": "npm run build && sh misc.sh && npm run lint",
48
48
  "pretest": "rm -rf coverage",
49
- "test": "mocha --exit --recursive",
49
+ "test": "mocha",
50
+ "test:bail": "mocha --bail",
50
51
  "test:cover": "c8 --include=src --reporter=lcov --reporter=text npm test"
51
52
  },
52
- "version": "5.0.2"
53
+ "type": "module",
54
+ "version": "5.0.4"
53
55
  }
File without changes
File without changes