@memlab/core 1.1.16 → 1.1.18
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/lib/Config.d.ts +5 -2
- package/dist/lib/Config.js +35 -1
- package/dist/lib/Console.d.ts +3 -0
- package/dist/lib/Console.js +81 -28
- package/dist/lib/FileManager.d.ts +12 -12
- package/dist/lib/FileManager.js +66 -33
- package/dist/lib/HeapAnalyzer.d.ts +5 -14
- package/dist/lib/HeapAnalyzer.js +9 -285
- package/dist/lib/Types.d.ts +80 -7
- package/dist/lib/Utils.d.ts +7 -1
- package/dist/lib/Utils.js +49 -1
- package/dist/lib/heap-data/HeapNode.js +3 -4
- package/dist/lib/heap-data/HeapSnapshot.js +2 -2
- package/package.json +2 -2
|
@@ -206,8 +206,8 @@ class HeapSnapshot {
|
|
|
206
206
|
const locationFieldsCount = this._locationFieldsCount;
|
|
207
207
|
let locationIdx = 0;
|
|
208
208
|
while (locationIdx < this._locationCount) {
|
|
209
|
-
const
|
|
210
|
-
this._nodeIdx2LocationIdx[
|
|
209
|
+
const nodeIndex = locations[locationIdx * locationFieldsCount + this._locationObjectIndexOffset];
|
|
210
|
+
this._nodeIdx2LocationIdx[nodeIndex] = locationIdx;
|
|
211
211
|
++locationIdx;
|
|
212
212
|
}
|
|
213
213
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memlab/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "memlab core libraries",
|
|
6
6
|
"author": "Liang Gong <lgong@fb.com>",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build-pkg": "tsc",
|
|
61
61
|
"test-pkg": "jest .",
|
|
62
|
-
"publish-patch": "npm
|
|
62
|
+
"publish-patch": "npm publish",
|
|
63
63
|
"clean-pkg": "rm -rf ./dist && rm -rf ./node_modules && rm -f ./tsconfig.tsbuildinfo"
|
|
64
64
|
},
|
|
65
65
|
"bugs": {
|