@tmagic/utils 1.7.10 → 1.7.12
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,7 +1,7 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@tmagic/schema")) : typeof define === "function" && define.amd ? define(["exports", "@tmagic/schema"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicUtils = {}, global._tmagic_schema));
|
|
3
3
|
})(this, function(exports, _tmagic_schema) {
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
Object.defineProperty(exports, globalThis.Symbol.toStringTag, { value: "Module" });
|
|
5
5
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -1596,7 +1596,8 @@
|
|
|
1596
1596
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
1597
1597
|
*/
|
|
1598
1598
|
function Stack(entries) {
|
|
1599
|
-
|
|
1599
|
+
var data = this.__data__ = new ListCache(entries);
|
|
1600
|
+
this.size = data.size;
|
|
1600
1601
|
}
|
|
1601
1602
|
Stack.prototype.clear = stackClear;
|
|
1602
1603
|
Stack.prototype["delete"] = stackDelete;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.7.
|
|
2
|
+
"version": "1.7.12",
|
|
3
3
|
"name": "@tmagic/utils",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@types/lodash-es": "^4.17.4"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"typescript": "^6.0.
|
|
38
|
-
"@tmagic/schema": "1.7.
|
|
37
|
+
"typescript": "^6.0.3",
|
|
38
|
+
"@tmagic/schema": "1.7.12"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"typescript": {
|