Huge News!Announcing our $40M Series B led by Abstract Ventures.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 22.5.3 to 22.5.4

4

dist/util/parseNumber.js
"use strict";
exports.__esModule = true;
var babylon_1 = require("babylon");
var parser_1 = require("@babel/parser");
/**

@@ -8,3 +8,3 @@ * Parses JavaScript source representing a number.

function parseNumber(string) {
var expressionStatement = babylon_1.parse("(" + string + ")").program.body[0];
var expressionStatement = parser_1.parse("(" + string + ")").program.body[0];
var literal = expressionStatement.expression;

@@ -11,0 +11,0 @@ return literal.value;

"use strict";
exports.__esModule = true;
var babylon_1 = require("babylon");
var parser_1 = require("@babel/parser");
/**

@@ -8,3 +8,3 @@ * Parses JavaScript source representing a regular expression.

function parseRegExp(string) {
var expressionStatement = babylon_1.parse("(" + string + ")").program.body[0];
var expressionStatement = parser_1.parse("(" + string + ")").program.body[0];
var literal = expressionStatement.expression;

@@ -11,0 +11,0 @@ return literal;

"use strict";
exports.__esModule = true;
var babylon_1 = require("babylon");
var parser_1 = require("@babel/parser");
/**

@@ -8,3 +8,3 @@ * Parses JavaScript source representing a string.

function parseString(string) {
var expressionStatement = babylon_1.parse("(" + string + ")").program.body[0];
var expressionStatement = parser_1.parse("(" + string + ")").program.body[0];
var literal = expressionStatement.expression;

@@ -11,0 +11,0 @@ return literal.value;

{
"name": "decaffeinate-parser",
"description": "A better AST for CoffeeScript, inspired by CoffeeScriptRedux.",
"version": "22.5.3",
"version": "22.5.4",
"main": "dist/parser.js",

@@ -29,3 +29,3 @@ "module": "dist/parser.mjs",

"dependencies": {
"babylon": "^6.18.0",
"@babel/parser": "^7.1.6",
"coffee-lex": "^9.1.0",

@@ -38,15 +38,14 @@ "decaffeinate-coffeescript": "1.12.7-patch.2",

"devDependencies": {
"@types/babylon": "^6.16.2",
"@babel/core": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-flow": "^7.0.0",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@types/json-stable-stringify": "^1.0.32",
"@types/mocha": "^5.2.5",
"@types/node": "10.10.1",
"babel": "^6.5.2",
"babel-plugin-external-helpers": "^6.8.0",
"@types/node": "10.11.7",
"babel-plugin-object-rest-spread": "0.0.0",
"babel-plugin-syntax-flow": "^6.8.0",
"babel-plugin-syntax-object-rest-spread": "^6.8.0",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.13.0",
"babel-register": "^6.26.0",
"coffee-script-redux": "^2.0.0-beta8",

@@ -53,0 +52,0 @@ "mocha": "^5.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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