New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

decaffeinate-parser

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decaffeinate-parser - npm Package Compare versions

Comparing version 1.2.21 to 1.2.22

5

dist/decaffeinate-parser.es6.js

@@ -1154,3 +1154,4 @@ import * as CoffeeScript from 'coffee-script';

if (node.locationData) {
if (node.locationData && type(node) !== 'Literal') {
// should't trim Literal, i.e. "(".
trimNonMatchingParentheses(source, node.locationData, mapper);

@@ -1865,3 +1866,3 @@ }

expressions.push(element);
} else if (element.data && element.data.search(/^"(.*?)"$/) === 0) {
} else if (/^"(.*?)"$/.test(element.data)) {
quasis.push(buildQuasiWithString(element.range, element.raw));

@@ -1868,0 +1869,0 @@ } else if (quasis.length < expressions.length + 1) {

4

package.json
{
"name": "decaffeinate-parser",
"version": "1.2.21",
"version": "1.2.22",
"description": "A better AST for CoffeeScript, inspired by CoffeeScriptRedux.",

@@ -34,3 +34,3 @@ "main": "dist/decaffeinate-parser.umd.js",

"mocha": "^2.4.5",
"rollup": "^0.25.8",
"rollup": "^0.26.3",
"rollup-plugin-babel": "^2.4.0",

@@ -37,0 +37,0 @@ "string-repeat": "^1.1.1"

Sorry, the diff of this file is too big to display

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