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

@colyseus/schema

Package Overview
Dependencies
Maintainers
1
Versions
313
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colyseus/schema - npm Package Compare versions

Comparing version 2.0.24 to 2.0.25

2

lib/codegen/languages/csharp.js

@@ -80,3 +80,3 @@ "use strict";

if (isNaN(Number(prop.type))) {
value = prop.type;
value = `"${prop.type}"`;
dataType = "string";

@@ -83,0 +83,0 @@ }

@@ -156,3 +156,3 @@ "use strict";

if (currentStructure instanceof types_1.Enum) {
const initializer = node.initializer?.getText();
const initializer = node.initializer?.text;
const name = node.getFirstToken().getText();

@@ -159,0 +159,0 @@ const property = currentProperty || new types_1.Property();

{
"name": "@colyseus/schema",
"version": "2.0.24",
"version": "2.0.25",
"description": "Binary state serializer with delta encoding for games",

@@ -5,0 +5,0 @@ "bin": {

@@ -90,3 +90,3 @@ import {

if(isNaN(Number(prop.type))) {
value = prop.type;
value = `"${prop.type}"`;
dataType = "string";

@@ -93,0 +93,0 @@ } else {

@@ -197,3 +197,3 @@ import * as ts from "typescript";

if (currentStructure instanceof Enum) {
const initializer = (node as any).initializer?.getText();
const initializer = (node as any).initializer?.text;
const name = node.getFirstToken().getText();

@@ -200,0 +200,0 @@ const property = currentProperty || new Property();

Sorry, the diff of this file is not supported yet

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