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.24 to 0.0.25

4

CHANGELOG.md
# code-red changelog
## 0.0.25
* Fix async/generator functions in object methods ([#18](https://github.com/Rich-Harris/code-red/issues/18))
## 0.0.24

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

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

if (node.method || (node.value.type === 'FunctionExpression' && !node.value.id)) {
if (node.value.type === 'FunctionExpression' && !node.value.id) {
state = {

@@ -978,2 +978,9 @@ ...state,

if (node.value.async) {
chunks.push(c('async '));
}
if (node.value.generator) {
chunks.push(c('*'));
}
chunks.push(

@@ -980,0 +987,0 @@ ...(node.computed ? [c('['), ...key, c(']')] : key),

2

package.json
{
"name": "code-red",
"description": "code-red",
"version": "0.0.24",
"version": "0.0.25",
"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