You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-cli

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-cli - npm Package Compare versions

Comparing version

to
3.1.0

3

lib/shared/require-or-import.js

@@ -26,3 +26,4 @@ 'use strict';

/* istanbul ignore else */
if (e.code === 'ERR_REQUIRE_ESM' || process.env.NYC_CONFIG) {
// Check 'ERR_REQUIRE_ASYNC_MODULE' if on node v22.12.0 or later to allow importing from files using top level await.
if (e.code === 'ERR_REQUIRE_ESM' || process.env.NYC_CONFIG || e.code === 'ERR_REQUIRE_ASYNC_MODULE') {
// This is needed on Windows, because import() fails if providing a Windows file path.

@@ -29,0 +30,0 @@ var url = pathToFileURL(path);

{
"name": "gulp-cli",
"version": "3.0.0",
"version": "3.1.0",
"description": "Command line interface for gulp",

@@ -38,3 +38,3 @@ "author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",

"interpret": "^3.1.1",
"liftoff": "^5.0.0",
"liftoff": "^5.0.1",
"mute-stdout": "^2.0.0",

@@ -41,0 +41,0 @@ "replace-homedir": "^2.0.0",

Sorry, the diff of this file is not supported yet