@effected/package-json 0.18.1 → 0.19.1

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/PackageName.js +2 -2
  2. package/package.json +6 -6
package/PackageName.js CHANGED
@@ -16,8 +16,8 @@ input: Schema.String }) {
16
16
  return `Invalid package name "${this.input}": does not satisfy npm naming rules`;
17
17
  }
18
18
  };
19
- const UNSCOPED_RE = /^[a-z0-9-][a-z0-9._-]*$/;
20
- const SCOPED_RE = /^@[a-z0-9-][a-z0-9._-]*\/[a-z0-9-][a-z0-9._-]*$/;
19
+ const UNSCOPED_RE = /^[a-z0-9-][a-z0-9._-]*$/u;
20
+ const SCOPED_RE = /^@[a-z0-9-][a-z0-9._-]*\/[a-z0-9-][a-z0-9._-]*$/u;
21
21
  const MAX_LENGTH = 214;
22
22
  /**
23
23
  * A valid npm scoped package name (`@scope/name`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/package-json",
3
- "version": "0.18.1",
3
+ "version": "0.19.1",
4
4
  "private": false,
5
5
  "description": "package.json parsing, editing, validation and file IO as Effect schemas.",
6
6
  "keywords": [
@@ -38,13 +38,13 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "dependencies": {
41
- "@effected/jsonc": "^0.13.0",
42
- "@effected/npm": "^0.18.0",
43
- "@effected/semver": "^0.9.0",
44
- "@effected/spdx": "^0.9.0"
41
+ "@effected/jsonc": "^0.14.0",
42
+ "@effected/npm": "^0.19.0",
43
+ "@effected/semver": "^0.10.1",
44
+ "@effected/spdx": "^0.10.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "effect": "4.0.0-rc.117"
47
+ "effect": "4.0.0-rc.118"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=24.11.0"