Socket
Socket
Sign inDemoInstall

code-red

Package Overview
Dependencies
6
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.23 to 0.0.24

4

CHANGELOG.md
# code-red changelog
## 0.0.24
* Determine shorthand eligibility after stringification ([#17](https://github.com/Rich-Harris/code-red/pull/17))
## 0.0.23

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

4

dist/code-red.js

@@ -959,4 +959,4 @@ (function (global, factory) {

if (node.value.type === 'Identifier' && (
(node.key.type === 'Identifier' && node.key.name === node.value.name) ||
(node.key.type === 'Literal' && node.key.value === node.value.name)
(node.key.type === 'Identifier' && node.key.name === value[0].content) ||
(node.key.type === 'Literal' && node.key.value === value[0].content)
)) {

@@ -963,0 +963,0 @@ return value;

{
"name": "code-red",
"description": "code-red",
"version": "0.0.23",
"version": "0.0.24",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc