Socket
Socket
Sign inDemoInstall

code-red

Package Overview
Dependencies
5
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.17 to 0.0.18

5

CHANGELOG.md
# code-red changelog
## 0.0.18
* Handle mixed named/default imports ([#3](https://github.com/Rich-Harris/code-red/issues/3))
* Update dependencies ([#4](https://github.com/Rich-Harris/code-red/issues/4))
## 0.0.17

@@ -4,0 +9,0 @@

2

dist/code-red.js

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

// we have named specifiers
const specifiers = node.specifiers.map((specifier) => {
const specifiers = node.specifiers.slice(i).map((specifier) => {
const name = handle(specifier.imported, state)[0];

@@ -577,0 +577,0 @@ const as = handle(specifier.local, state)[0];

{
"name": "code-red",
"description": "code-red",
"version": "0.0.17",
"version": "0.0.18",
"repository": "Rich-Harris/code-red",

@@ -17,3 +17,3 @@ "main": "dist/code-red.js",

"@types/mocha": "^5.2.5",
"@types/node": "^10.9.4",
"@types/node": "^10.14.22",
"eslump": "^2.0.0",

@@ -27,3 +27,3 @@ "estree-walker": "^0.8.1",

"tiny-glob": "^0.2.6",
"typescript": "^3.6.2"
"typescript": "^3.6.4"
},

@@ -40,7 +40,7 @@ "scripts": {

"dependencies": {
"acorn": "^7.0.0",
"is-reference": "^1.1.3",
"periscopic": "^1.0.1",
"acorn": "^7.1.0",
"is-reference": "^1.1.4",
"periscopic": "^1.0.2",
"sourcemap-codec": "^1.4.6"
}
}

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