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

run-func

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

run-func - npm Package Compare versions

Comparing version 1.1.5 to 2.0.0

tryme..js

4

index.js

@@ -17,5 +17,3 @@ #! /usr/bin/env node

if (isEs6) {
// This branch is only supported in Node versions that support native ES6 import
var es6Import = require('./es6import.js')
es6Import('file://' + path.resolve(path.join(process.cwd(), process.argv[2]))).then(userModule => {
import('file://' + path.resolve(path.join(process.cwd(), process.argv[2]))).then((userModule) => {
executeInModule(userModule, process.argv[3], params);

@@ -22,0 +20,0 @@ });

@@ -17,5 +17,3 @@ #! /usr/bin/env node --max-old-space-size=4096

if (isEs6) {
// This branch is only supported in Node versions that support native ES6 import
var es6Import = require('./es6import.js')
es6Import('file://' + path.resolve(path.join(process.cwd(), process.argv[2]))).then(userModule => {
import('file://' + path.resolve(path.join(process.cwd(), process.argv[2]))).then((userModule) => {
executeInModule(userModule, process.argv[3], params);

@@ -22,0 +20,0 @@ });

@@ -7,2 +7,6 @@ {

},
"engines": {
"npm": ">=6.0.0",
"node": ">=10.0.0"
},
"description": "Run exported function from package.json scripts",

@@ -23,3 +27,3 @@ "directories": {},

},
"version": "1.1.5",
"version": "2.0.0",
"repository": {

@@ -26,0 +30,0 @@ "type": "git",

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