@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.
@@ -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 id = locations[locationIdx * locationFieldsCount + this._locationObjectIndexOffset];
210
- this._nodeIdx2LocationIdx[id] = locationIdx;
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.16",
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 version patch --force && npm publish",
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": {