Socket
Socket
Sign inDemoInstall

code-red

Package Overview
Dependencies
6
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.1.6

4

CHANGELOG.md
# code-red changelog
## 0.1.6
* Only use shorthand for non-computed properties ([#58](https://github.com/Rich-Harris/code-red/pull/58))
## 0.1.5

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

2

dist/code-red.js

@@ -1030,3 +1030,3 @@ (function (global, factory) {

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

@@ -1033,0 +1033,0 @@ (node.key.type === 'Literal' && node.key.value === value[0].content)

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