You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

sucrase

Package Overview
Dependencies
Maintainers
1
Versions
83
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.35.0
to
3.35.1
+2
-2
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 _tinyglobby = require('tinyglobby');
var _fs = require('mz/fs');

@@ -216,3 +216,3 @@ var _path = require('path');

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

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

/* eslint-disable no-console */
import commander from "commander";
import {glob} from "glob";
import {glob} from "tinyglobby";
import {exists, mkdir, readdir, readFile, stat, writeFile} from "mz/fs";

@@ -216,3 +216,3 @@ import {dirname, join, relative} from "path";

for (const pattern of include) {
const globFiles = await glob(join(absProject, pattern));
const globFiles = await glob(join(absProject, pattern), {expandDirectories: false});
for (const file of globFiles) {

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

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

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

@@ -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.35.0";
return "3.35.1";
} exports.getVersion = getVersion;

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

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

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

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

@@ -77,6 +77,6 @@ "ts-interface-builder": "^0.3.3",

"commander": "^4.0.0",
"glob": "^10.3.10",
"lines-and-columns": "^1.1.6",
"mz": "^2.7.0",
"pirates": "^4.0.1",
"tinyglobby": "^0.2.11",
"ts-interface-checker": "^0.1.9"

@@ -83,0 +83,0 @@ },