You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

json-as

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-as - npm Package Compare versions

Comparing version

to
0.5.31

8

assembly/test.ts

@@ -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));

2

package.json
{
"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",