@whitesev/utils 1.1.5 → 1.1.7
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.amd.js +4 -6
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +4 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +4 -6
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +4 -6
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +4 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/src/Utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/Utils.ts +1 -3
- package/src/UtilsGMCookie.ts +3 -3
package/dist/index.system.js
CHANGED
|
@@ -276,7 +276,7 @@ System.register('Utils', [], (function (exports) {
|
|
|
276
276
|
let itemSplit = item.split("=");
|
|
277
277
|
let itemName = itemSplit[0];
|
|
278
278
|
itemSplit.splice(0, 1);
|
|
279
|
-
let itemValue = itemSplit.join("");
|
|
279
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
280
280
|
if (itemName === cookieName) {
|
|
281
281
|
findValue = {
|
|
282
282
|
domain: globalThis.location.hostname,
|
|
@@ -321,7 +321,7 @@ System.register('Utils', [], (function (exports) {
|
|
|
321
321
|
let itemSplit = item.split("=");
|
|
322
322
|
let itemName = itemSplit[0];
|
|
323
323
|
itemSplit.splice(0, 1);
|
|
324
|
-
let itemValue = itemSplit.join("");
|
|
324
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
325
325
|
let nameRegexp = details.name instanceof RegExp
|
|
326
326
|
? details.name
|
|
327
327
|
: new RegExp("^" + details.name, "g");
|
|
@@ -372,7 +372,7 @@ System.register('Utils', [], (function (exports) {
|
|
|
372
372
|
let itemSplit = item.split("=");
|
|
373
373
|
let itemName = itemSplit[0];
|
|
374
374
|
itemSplit.splice(0, 1);
|
|
375
|
-
let itemValue = itemSplit.join("");
|
|
375
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
376
376
|
let nameRegexp = details.name instanceof RegExp
|
|
377
377
|
? details.name
|
|
378
378
|
: new RegExp("^" + details.name, "g");
|
|
@@ -3360,9 +3360,7 @@ System.register('Utils', [], (function (exports) {
|
|
|
3360
3360
|
* 颜色转换
|
|
3361
3361
|
* @returns
|
|
3362
3362
|
*/
|
|
3363
|
-
ColorConversion
|
|
3364
|
-
return new ColorConversion();
|
|
3365
|
-
}
|
|
3363
|
+
ColorConversion = ColorConversion;
|
|
3366
3364
|
deepClone(obj) {
|
|
3367
3365
|
let UtilsContext = this;
|
|
3368
3366
|
if (obj === void 0)
|