Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sucrase

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sucrase - npm Package Compare versions

Comparing version 3.34.0 to 3.35.0

7

dist/cli.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/* eslint-disable no-console */
var _commander = require('commander'); var _commander2 = _interopRequireDefault(_commander);
var _glob = require('glob'); var _glob2 = _interopRequireDefault(_glob);
var _glob = require('glob');
var _fs = require('mz/fs');
var _path = require('path');
var _util = require('util');

@@ -20,4 +19,2 @@ var _index = require('./index');

const glob = _util.promisify.call(void 0, _glob2.default);
function run() {

@@ -220,3 +217,3 @@ _commander2.default

for (const pattern of include) {
const globFiles = await glob(_path.join.call(void 0, absProject, pattern));
const globFiles = await _glob.glob.call(void 0, _path.join.call(void 0, absProject, pattern));
for (const file of globFiles) {

@@ -223,0 +220,0 @@ if (!file.endsWith(".ts") && !file.endsWith(".js")) {

/* eslint-disable no-console */
import commander from "commander";
import globCb from "glob";
import {glob} from "glob";
import {exists, mkdir, readdir, readFile, stat, writeFile} from "mz/fs";
import {dirname, join, relative} from "path";
import {promisify} from "util";

@@ -20,4 +19,2 @@ import { transform} from "./index";

const glob = promisify(globCb);
export default function run() {

@@ -24,0 +21,0 @@ commander

@@ -32,3 +32,3 @@ import CJSImportProcessor from "./CJSImportProcessor";

/* istanbul ignore next */
return "3.34.0";
return "3.35.0";
}

@@ -35,0 +35,0 @@

@@ -32,3 +32,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _CJSImportProcessor = require('./CJSImportProcessor'); var _CJSImportProcessor2 = _interopRequireDefault(_CJSImportProcessor);

/* istanbul ignore next */
return "3.34.0";
return "3.35.0";
} exports.getVersion = getVersion;

@@ -35,0 +35,0 @@

{
"name": "sucrase",
"version": "3.34.0",
"version": "3.35.0",
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes",

@@ -53,3 +53,2 @@ "author": "Alan Pierce <alangpierce@gmail.com>",

"@jridgewell/trace-mapping": "^0.3.18",
"@types/glob": "^7",
"@types/mocha": "^9.1.1",

@@ -70,3 +69,3 @@ "@types/mz": "^2.7.4",

"prettier": "^2.8.8",
"sucrase": "^3.33.0",
"sucrase": "^3.34.0",
"test262-harness": "^10.0.0",

@@ -79,3 +78,3 @@ "ts-interface-builder": "^0.3.3",

"commander": "^4.0.0",
"glob": "7.1.6",
"glob": "^10.3.10",
"lines-and-columns": "^1.1.6",

@@ -87,3 +86,3 @@ "mz": "^2.7.0",

"engines": {
"node": ">=8"
"node": ">=16 || 14 >=14.17"
},

@@ -90,0 +89,0 @@ "resolutions": {

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