properties-file 3.6.0 → 3.6.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unescapeContent=void 0;var REGEX_INVALID_UNICODE_ESCAPE=/\\u(?![0-9a-fA-F]{4}
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unescapeContent=void 0;var REGEX_INVALID_UNICODE_ESCAPE=/\\u(?![0-9a-fA-F]{4})/,REGEX_ESCAPE=/\\(?:([fnrt])|u([0-9a-fA-F]{4})|(.))/g,ESCAPE_MAP={f:"\f",n:"\n",r:"\r",t:"\t"},unescapeContent=function(e){if(!e.includes("\\"))return e;var n=e.match(REGEX_INVALID_UNICODE_ESCAPE);if(n){var r=n.index,t=e.slice(r,r+6);throw new Error("malformed escaped unicode characters '".concat(t,"'"))}return e.replace(REGEX_ESCAPE,function(e,n,r,t){return n?ESCAPE_MAP[n]:r?String.fromCodePoint(Number.parseInt(r,16)):t})};exports.unescapeContent=unescapeContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var REGEX_INVALID_UNICODE_ESCAPE=/\\u(?![0-9a-fA-F]{4}
|
|
1
|
+
var REGEX_INVALID_UNICODE_ESCAPE=/\\u(?![0-9a-fA-F]{4})/,REGEX_ESCAPE=/\\(?:([fnrt])|u([0-9a-fA-F]{4})|(.))/g,ESCAPE_MAP={f:"\f",n:"\n",r:"\r",t:"\t"};export var unescapeContent=function(r){if(!r.includes("\\"))return r;var E=r.match(REGEX_INVALID_UNICODE_ESCAPE);if(E){var e=E.index,n=r.slice(e,e+6);throw new Error("malformed escaped unicode characters '".concat(n,"'"))}return r.replace(REGEX_ESCAPE,function(r,E,e,n){return E?ESCAPE_MAP[E]:e?String.fromCodePoint(Number.parseInt(e,16)):n})};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "properties-file",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": ".properties file parser, editor, formatter and Webpack loader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
".properties",
|
|
@@ -98,33 +98,33 @@
|
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@release-it/conventional-changelog": "10.0.1",
|
|
100
100
|
"@types/jest": "30.0.0",
|
|
101
|
-
"@types/node": "24.3.
|
|
101
|
+
"@types/node": "24.3.1",
|
|
102
102
|
"check-node-version": "4.2.1",
|
|
103
103
|
"depcheck": "1.4.7",
|
|
104
104
|
"dotenv-cli": "10.0.0",
|
|
105
|
-
"eslint": "9.
|
|
105
|
+
"eslint": "9.35.0",
|
|
106
106
|
"eslint-config-prettier": "10.1.8",
|
|
107
107
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
108
108
|
"eslint-plugin-compat": "6.0.2",
|
|
109
109
|
"eslint-plugin-import-x": "4.16.1",
|
|
110
110
|
"eslint-plugin-jest": "29.0.1",
|
|
111
|
-
"eslint-plugin-json-files": "5.1.
|
|
111
|
+
"eslint-plugin-json-files": "5.1.1",
|
|
112
112
|
"eslint-plugin-prefer-arrow-functions": "3.6.2",
|
|
113
113
|
"eslint-plugin-prettier": "5.5.4",
|
|
114
114
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
115
|
-
"eslint-plugin-unicorn": "
|
|
115
|
+
"eslint-plugin-unicorn": "61.0.1",
|
|
116
116
|
"husky": "9.1.7",
|
|
117
|
-
"jest": "30.
|
|
117
|
+
"jest": "30.1.3",
|
|
118
118
|
"jiti": "2.5.1",
|
|
119
119
|
"jsonc-eslint-parser": "2.4.0",
|
|
120
|
-
"npm-check-updates": "18.0
|
|
120
|
+
"npm-check-updates": "18.1.0",
|
|
121
121
|
"prettier": "3.6.2",
|
|
122
122
|
"prettier-plugin-organize-imports": "4.2.0",
|
|
123
123
|
"release-it": "19.0.4",
|
|
124
|
-
"terser": "5.
|
|
124
|
+
"terser": "5.44.0",
|
|
125
125
|
"ts-jest": "29.4.1",
|
|
126
126
|
"typescript": "5.9.2",
|
|
127
|
-
"typescript-eslint": "8.
|
|
127
|
+
"typescript-eslint": "8.42.0"
|
|
128
128
|
},
|
|
129
129
|
"engines": {
|
|
130
130
|
"node": "*"
|