decoders 2.9.2 → 2.9.3
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -819,7 +819,7 @@ function mapping(decoder) {
|
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
// src/strings.ts
|
|
822
|
-
var url_re = /^([A-Za-z]{2,12}(?:[+][A-Za-z]{2,12})?):\/\/(?:([^@:]*:?(?:[^@]+)?)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[
|
|
822
|
+
var url_re = /^([A-Za-z]{2,12}(?:[+][A-Za-z]{2,12})?):\/\/(?:([^@:]*:?(?:[^@]+)?)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[-+~%/.,!$&'()*:;=@\w]*)?(?:\?[-+~%/.,!$&'()*:;=@?\w]*)?)?(?:#[^\s#]*)?$/;
|
|
823
823
|
var string = define(
|
|
824
824
|
(blob, ok2, err2) => isString(blob) ? ok2(blob) : err2("Must be string")
|
|
825
825
|
);
|
package/dist/index.js
CHANGED
|
@@ -819,7 +819,7 @@ function mapping(decoder) {
|
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
// src/strings.ts
|
|
822
|
-
var url_re = /^([A-Za-z]{2,12}(?:[+][A-Za-z]{2,12})?):\/\/(?:([^@:]*:?(?:[^@]+)?)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[
|
|
822
|
+
var url_re = /^([A-Za-z]{2,12}(?:[+][A-Za-z]{2,12})?):\/\/(?:([^@:]*:?(?:[^@]+)?)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[-+~%/.,!$&'()*:;=@\w]*)?(?:\?[-+~%/.,!$&'()*:;=@?\w]*)?)?(?:#[^\s#]*)?$/;
|
|
823
823
|
var string = define(
|
|
824
824
|
(blob, ok2, err2) => isString(blob) ? ok2(blob) : err2("Must be string")
|
|
825
825
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "decoders",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"description": "Elegant and battle-tested validation library for type-safe input data for TypeScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
66
66
|
"@release-it/keep-a-changelog": "^7.0.1",
|
|
67
67
|
"@standard-schema/spec": "^1.1.0",
|
|
68
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
68
|
+
"@vitest/coverage-istanbul": "^4.1.3",
|
|
69
69
|
"fast-check": "^4.6.0",
|
|
70
70
|
"itertools": "^2.6.0",
|
|
71
|
-
"oxlint": "^1.
|
|
71
|
+
"oxlint": "^1.59.0",
|
|
72
72
|
"pkg-pr-new": "^0.0.66",
|
|
73
73
|
"prettier": "^3.8.1",
|
|
74
74
|
"publint": "^0.3.18",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"tsd": "^0.33.0",
|
|
78
78
|
"tsup": "^8.5.1",
|
|
79
79
|
"typescript": "^5.9.3",
|
|
80
|
-
"vitest": "^4.1.
|
|
80
|
+
"vitest": "^4.1.3"
|
|
81
81
|
},
|
|
82
82
|
"githubUrl": "https://github.com/nvie/decoders",
|
|
83
83
|
"sideEffects": false
|