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

@colyseus/schema

Package Overview
Dependencies
Maintainers
2
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 1.0.42 to 1.0.43

2

lib/codegen/parser.js

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

// TypeScript 4.8 and above
if (ts.canHaveDecorators(node)) {
if (ts.canHaveDecorators && ts.canHaveDecorators(node)) {
var decorators = ts.getDecorators(node);

@@ -214,0 +214,0 @@ return decorators ? Array.from(decorators) : undefined;

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

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

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

// TypeScript 4.8 and above
if (ts.canHaveDecorators(node)) {
if (ts.canHaveDecorators && ts.canHaveDecorators(node)) {
const decorators = ts.getDecorators(node);

@@ -272,2 +272,2 @@ return decorators ? Array.from(decorators) : undefined;

return node.modifiers?.filter(ts.isDecorator);
}
}

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