Comparing version
@@ -38,8 +38,2 @@ import { JSON } from "./src/json"; | ||
const parsed = JSON.parse<Player>(stringified); | ||
console.log(JSON.stringify(parsed)); | ||
const stringifiedDate = JSON.stringify(new Date(1677961186339)); | ||
console.log(stringifiedDate); | ||
const parsedDate = JSON.parse<Date>(stringifiedDate); | ||
console.log(JSON.stringify(parsedDate)); | ||
console.log(JSON.stringify(parsed)); |
{ | ||
"name": "json-as", | ||
"version": "0.5.30", | ||
"version": "0.5.31", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "types": "assembly/index.ts", |
@@ -128,4 +128,4 @@ import { getName, toString, isStdlib } from "visitor-as/dist/utils.js"; | ||
this.schemasList.push(this.currentClass); | ||
console.log(serializeFunc); | ||
console.log(setKeyFunc); | ||
//console.log(serializeFunc); | ||
//console.log(setKeyFunc); | ||
} | ||
@@ -132,0 +132,0 @@ visitSource(node) { |
{ | ||
"name": "@json-as/transform", | ||
"version": "0.5.30", | ||
"version": "0.5.31", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
69784
-0.27%1591
-0.25%