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

renamer

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

renamer - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

index.js

@@ -20,2 +20,4 @@ const nodeVersionMatches = require('node-version-matches')

/**
* A synchronous method to rename files in bulk.
*
* @param {object} options - The renamer options

@@ -22,0 +24,0 @@ * @param {string[]} [options.files] - One or more glob patterns or filenames to process.

2

lib/util.js

@@ -67,3 +67,3 @@ /**

}
if (!(t.isFunction(createPlugin) && !t.isClass(createPlugin))) {
if (!(typeof createPlugin === 'function' && !t.isClass(createPlugin))) {
throw new Error('Invalid plugin: plugin module must export a function')

@@ -70,0 +70,0 @@ }

{
"name": "renamer",
"description": "Rename files in bulk",
"version": "1.1.1",
"version": "1.1.2",
"author": "Lloyd Brookes <75pound@gmail.com>",

@@ -32,11 +32,11 @@ "bin": "bin/cli.js",

"dependencies": {
"array-back": "^3.0.1",
"chalk": "^2.4.1",
"command-line-args": "^5.0.2",
"command-line-plugin": "^0.1.2",
"array-back": "^3.1.0",
"chalk": "^2.4.2",
"command-line-args": "^5.1.1",
"command-line-plugin": "^0.2.0",
"command-line-usage": "^5.0.5",
"fast-diff": "^1.2.0",
"glob": "^7.1.3",
"glob": "^7.1.4",
"global-modules": "^2.0.0",
"load-module": "^1.0.0",
"load-module": "^2.0.1",
"node-version-matches": "^1.0.1",

@@ -46,13 +46,13 @@ "printj": "^1.2.1",

"reduce-unique": "^2.0.1",
"stream-read-all": "^1.0.1",
"typical": "^3.0.0"
"stream-read-all": "^2.0.0",
"typical": "^5.0.0"
},
"devDependencies": {
"coveralls": "^3.0.2",
"jsdoc-to-markdown": "^4.0.1",
"coveralls": "^3.0.3",
"jsdoc-to-markdown": "^5.0.0",
"mkdirp2": "^1.0.4",
"nyc": "^13.1.0",
"rimraf": "^2.6.2",
"test-runner": "^0.5.1"
"nyc": "^14.1.1",
"rimraf": "^2.6.3",
"test-runner": "^0.6.0"
}
}
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