json-as 0.5.30 → 0.5.31

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/assembly/test.ts CHANGED
@@ -35,10 +35,4 @@ const stringified = JSON.stringify<Player>(player);
35
35
  console.log(stringified);
36
36
 
37
37
  const parsed = JSON.parse<Player>(stringified);
38
- console.log(JSON.stringify(parsed));
39
-
40
- const stringifiedDate = JSON.stringify(new Date(1677961186339));
41
- console.log(stringifiedDate);
42
-
43
- const parsedDate = JSON.parse<Date>(stringifiedDate);
44
- console.log(JSON.stringify(parsedDate));
38
+ console.log(JSON.stringify(parsed));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-as",
3
- "version": "0.5.30",
3
+ "version": "0.5.31",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "types": "assembly/index.ts",
6
6
  "author": "Jairus Tanaka",
@@ -125,8 +125,8 @@ class AsJSONTransform extends BaseVisitor {
125
125
  const setDataMethod = SimpleParser.parseClassMember(setKeyFunc, node);
126
126
  node.members.push(setDataMethod);
127
127
  this.schemasList.push(this.currentClass);
128
- console.log(serializeFunc);
129
- console.log(setKeyFunc);
128
+ //console.log(serializeFunc);
129
+ //console.log(setKeyFunc);
130
130
  }
131
131
  visitSource(node) {
132
132
  super.visitSource(node);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-as/transform",
3
- "version": "0.5.30",
3
+ "version": "0.5.31",
4
4
  "description": "JSON encoder/decoder for AssemblyScript",
5
5
  "main": "./lib/index.js",
6
6
  "author": "Jairus Tanaka",