Comparing version 3.34.0 to 3.35.0
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21
1136988
28660
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.1.6(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedglob@^10.3.10