Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scaleforge/joser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scaleforge/joser - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

8

dist/index.js

@@ -74,2 +74,3 @@ "use strict";

serialize(obj) {
var _a;
const serializers = Object.values(this.serializers);

@@ -95,6 +96,7 @@ const t = [];

}
if (!t.includes(serializer.type.name)) {
t.push(serializer.type.name);
const name = (_a = serializer.name) !== null && _a !== void 0 ? _a : serializer.type.name;
if (!t.includes(name)) {
t.push(name);
}
i.push([key, t.indexOf(serializer.type.name)]);
i.push([key, t.indexOf(name)]);
o.push([key, serializer.serialize(value)]);

@@ -101,0 +103,0 @@ continue;

{
"name": "@scaleforge/joser",
"version": "0.5.0",
"version": "0.5.1",
"description": "Javascript object serializer",

@@ -19,3 +19,3 @@ "main": "dist/index.js",

"@types/jest": "~29.5.5",
"@types/node": "^20.10.6",
"@types/node": "~20.10.6",
"@typescript-eslint/eslint-plugin": "~6.7.4",

@@ -25,3 +25,3 @@ "@typescript-eslint/parser": "~6.7.4",

"jest": "~29.7.0",
"rimraf": "^5.0.5",
"rimraf": "~5.0.5",
"ts-jest": "~29.1.1",

@@ -28,0 +28,0 @@ "ts-node": "~10.9.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc