New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

canvas-native

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-native - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

dist/lib/converters/json.js

@@ -104,3 +104,3 @@ 'use strict';

if (typeof line.level === 'number') {
if (line.isNesting) {
group.meta = { level: line.level };

@@ -127,3 +127,3 @@ }

if (typeof line.level === 'number') {
if (line.isNesting) {
return sameType && line.level === getNodeLevel(node);

@@ -138,3 +138,3 @@ }

if (typeof line.level !== 'number') {
if (!line.isNesting) {
return false;

@@ -141,0 +141,0 @@ }

@@ -34,2 +34,7 @@ 'use strict';

}, {
key: 'isNesting',
get: function get() {
return typeof this.level === 'number' && this.groupType !== 'canvas';
}
}, {
key: 'type',

@@ -36,0 +41,0 @@ get: function get() {

{
"name": "canvas-native",
"description": "Utilities for working with the native Canvas format",
"version": "1.2.1",
"version": "1.2.2",
"author": "Jonathan Clem <jonathan@usecanvas.com>",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/usecanvas/canvas-native/issues",

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