@domql/utils 2.3.28 → 2.3.29
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/node.js +11 -5
- package/package.json +2 -2
package/node.js
CHANGED
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
export const cleanWithNode = extend => delete extend.node && extend
|
|
4
4
|
|
|
5
|
-
export const createID = (function
|
|
6
|
-
let index =
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export const createID = (function () {
|
|
6
|
+
let index = 0
|
|
7
|
+
|
|
8
|
+
function newId () {
|
|
9
|
+
index++
|
|
10
|
+
return index
|
|
9
11
|
}
|
|
10
|
-
|
|
12
|
+
|
|
13
|
+
return newId
|
|
14
|
+
})()
|
|
15
|
+
|
|
16
|
+
export const createSnapshotId = createID
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/utils",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.29",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"@domql/globals": "latest",
|
|
9
9
|
"@domql/tags": "latest"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "6ed7919e6dc65a6bc48b9711d2dd85afcffe4a17"
|
|
12
12
|
}
|