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

code-red

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-red - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

4

CHANGELOG.md
# code-red changelog
## 0.0.15
* Flatten patterns
## 0.0.13-14

@@ -4,0 +8,0 @@

10

dist/code-red.js

@@ -255,6 +255,10 @@ (function (global, factory) {

if (node.type === 'ObjectExpression') {
if (node.type === 'ObjectExpression' || node.type === 'ObjectPattern') {
node.properties = flatten_properties(node.properties, []);
}
if (node.type === 'ArrayExpression' || node.type === 'ArrayPattern') {
node.elements = flatten(node.elements, []);
}
if (node.type === 'FunctionExpression' || node.type === 'FunctionDeclaration' || node.type === 'ArrowFunctionExpression') {

@@ -271,6 +275,2 @@ node.params = flatten(node.params, []);

}
if (node.type === 'ArrayExpression') {
node.elements = flatten(node.elements, []);
}
}

@@ -277,0 +277,0 @@ });

{
"name": "code-red",
"description": "code-red",
"version": "0.0.14",
"version": "0.0.15",
"repository": "Rich-Harris/code-red",

@@ -6,0 +6,0 @@ "main": "dist/code-red.js",

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