@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.amd.js
CHANGED
|
@@ -273,7 +273,7 @@ define((function () { 'use strict';
|
|
|
273
273
|
let itemSplit = item.split("=");
|
|
274
274
|
let itemName = itemSplit[0];
|
|
275
275
|
itemSplit.splice(0, 1);
|
|
276
|
-
let itemValue = itemSplit.join("");
|
|
276
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
277
277
|
if (itemName === cookieName) {
|
|
278
278
|
findValue = {
|
|
279
279
|
domain: globalThis.location.hostname,
|
|
@@ -318,7 +318,7 @@ define((function () { 'use strict';
|
|
|
318
318
|
let itemSplit = item.split("=");
|
|
319
319
|
let itemName = itemSplit[0];
|
|
320
320
|
itemSplit.splice(0, 1);
|
|
321
|
-
let itemValue = itemSplit.join("");
|
|
321
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
322
322
|
let nameRegexp = details.name instanceof RegExp
|
|
323
323
|
? details.name
|
|
324
324
|
: new RegExp("^" + details.name, "g");
|
|
@@ -369,7 +369,7 @@ define((function () { 'use strict';
|
|
|
369
369
|
let itemSplit = item.split("=");
|
|
370
370
|
let itemName = itemSplit[0];
|
|
371
371
|
itemSplit.splice(0, 1);
|
|
372
|
-
let itemValue = itemSplit.join("");
|
|
372
|
+
let itemValue = decodeURIComponent(itemSplit.join(""));
|
|
373
373
|
let nameRegexp = details.name instanceof RegExp
|
|
374
374
|
? details.name
|
|
375
375
|
: new RegExp("^" + details.name, "g");
|
|
@@ -3357,9 +3357,7 @@ define((function () { 'use strict';
|
|
|
3357
3357
|
* 颜色转换
|
|
3358
3358
|
* @returns
|
|
3359
3359
|
*/
|
|
3360
|
-
ColorConversion
|
|
3361
|
-
return new ColorConversion();
|
|
3362
|
-
}
|
|
3360
|
+
ColorConversion = ColorConversion;
|
|
3363
3361
|
deepClone(obj) {
|
|
3364
3362
|
let UtilsContext = this;
|
|
3365
3363
|
if (obj === void 0)
|