@muze-nl/od-jsontag 0.4.1 → 0.4.3

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/parse.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muze-nl/od-jsontag",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "On Demand JSONTag: parse/serialize large datastructures on demand, useful for sharing data between threads",
5
5
  "type": "module",
6
6
  "author": "Auke van Slooten <auke@muze.nl>",
@@ -36,6 +36,6 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "dependencies": {
39
- "@muze-nl/jsontag": "^0.10.2"
39
+ "@muze-nl/jsontag": "^0.10.3"
40
40
  }
41
41
  }
package/src/parse.mjs CHANGED
@@ -103,7 +103,7 @@ export default class Parser extends JSONTag.Parser
103
103
  if (this.meta.access && !this.meta.access(target, prop)) {
104
104
  return undefined
105
105
  }
106
- const type = JSONTag.getType(arg)
106
+ const type = JSONTag.getType(value)
107
107
  if ((type==='object' || type==='link')
108
108
  && typeof prop !== 'symbol'
109
109
  ) {
@@ -158,7 +158,7 @@ export default class Parser extends JSONTag.Parser
158
158
  if (this.meta.access && !this.meta.access(target, prop, 'set')) {
159
159
  return undefined
160
160
  }
161
- const type = JSONTag.getType(arg)
161
+ const type = JSONTag.getType(value)
162
162
  if ((type==='object' || type==='link')
163
163
  && typeof prop !== 'symbol'
164
164
  ) {