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

@npmcli/run-script

Package Overview
Dependencies
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/run-script - npm Package Compare versions

Comparing version 4.1.5 to 4.1.6

2

lib/escape.js

@@ -71,3 +71,3 @@ 'use strict'

// eslint-disable-next-line no-control-regex
const filename = (input) => input.replace(/[<>:"/\\|?*\x00-\x31]/g, '')
const filename = (input) => input.replace(/[<>:"/\\|?*\x00-\x1F]/g, '')

@@ -74,0 +74,0 @@ module.exports = {

@@ -10,2 +10,3 @@ /* eslint camelcase: "off" */

const escape = require('./escape.js')
const { randomBytes } = require('crypto')

@@ -34,3 +35,3 @@ const makeSpawnArgs = options => {

const fileName = escape.filename(`${event}-${Date.now()}`)
const fileName = escape.filename(`${event}-${randomBytes(4).toString('hex')}`)
let scriptFile

@@ -37,0 +38,0 @@ let script = ''

{
"name": "@npmcli/run-script",
"version": "4.1.5",
"version": "4.1.6",
"description": "Run a lifecycle script for a package (descendant of npm-lifecycle)",

@@ -5,0 +5,0 @@ "author": "GitHub Inc.",

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