assertron 11.2.1 → 11.2.2

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 (1) hide show
  1. package/package.json +20 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assertron",
3
- "version": "11.2.1",
3
+ "version": "11.2.2",
4
4
  "description": "A supplementary assertion library",
5
5
  "homepage": "https://github.com/unional/assertron",
6
6
  "bugs": {
@@ -18,11 +18,17 @@
18
18
  "sideEffects": false,
19
19
  "type": "module",
20
20
  "exports": {
21
- "import": "./esm/index.js",
22
- "require": "./cjs/index.js",
23
- "types": "./esm/index.d.ts"
21
+ "import": {
22
+ "types": "./esm/index.d.ts",
23
+ "default": "./esm/index.js"
24
+ },
25
+ "require": {
26
+ "types": "./cjs/index.d.ts",
27
+ "default": "./cjs/index.js"
28
+ }
24
29
  },
25
30
  "main": "./cjs/index.js",
31
+ "module": "./esm/index.js",
26
32
  "browser": {
27
33
  "perf_hooks": false
28
34
  },
@@ -31,7 +37,7 @@
31
37
  "cjs",
32
38
  "esm",
33
39
  "ts",
34
- "!ts/**/*.spec.ts"
40
+ "!**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*"
35
41
  ],
36
42
  "scripts": {
37
43
  "build": "run-p build:cjs build:esm build:tslib",
@@ -60,7 +66,7 @@
60
66
  "path-equal": "^1.2.5",
61
67
  "satisfier": "^5.4.2",
62
68
  "tersify": "^3.11.1",
63
- "type-plus": "^6.5.0"
69
+ "type-plus": "^7.0.0"
64
70
  },
65
71
  "devDependencies": {
66
72
  "@commitlint/cli": "^17.0.2",
@@ -82,20 +88,23 @@
82
88
  "jest": "^29.0.0",
83
89
  "jest-validate": "^29.0.0",
84
90
  "jest-watch-suspend": "^1.1.2",
85
- "jest-watch-toggle-config": "^2.0.1",
91
+ "jest-watch-toggle-config": "^3.0.0",
86
92
  "jest-watch-typeahead": "^2.0.0",
87
93
  "lodash": "^4.17.21",
88
94
  "ncp": "^2.0.0",
89
95
  "npm-run-all": "^4.1.5",
90
96
  "pinst": "^3.0.0",
91
- "rimraf": "^3.0.2",
92
- "semantic-release": "^21.0.1",
97
+ "rimraf": "^5.0.0",
98
+ "semantic-release": "^21.0.2",
93
99
  "size-limit": "^8.0.0",
94
100
  "ts-jest": "^29.0.0",
95
101
  "tslib": "^2.4.0",
96
102
  "typescript": "^5.0.0"
97
103
  },
98
- "packageManager": "yarn@3.5.0",
104
+ "packageManager": "yarn@3.5.1",
105
+ "engines": {
106
+ "node": ">= 10"
107
+ },
99
108
  "size-limit": [
100
109
  {
101
110
  "path": "./cjs/index.js",
@@ -109,8 +118,5 @@
109
118
  "path": "./tslib/index.js",
110
119
  "limit": "15 KB"
111
120
  }
112
- ],
113
- "engines": {
114
- "node": ">= 10"
115
- }
121
+ ]
116
122
  }