New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cjs-rename

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cjs-rename - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

7

lib/languages.js

@@ -14,5 +14,8 @@ /*

var COMMON_JS_REQUIRE_REGEX = /\brequire\s*\(\s*['"](\.[^'"]+)['"]\)/g;
var languages = {
js: /\brequire\s*\(\s*['"](\.[^'"]+)['"]\)/g,
coffee: /\brequire\s*\(?\s*['"](\.[^'"]+)['"]\)?/g
js: COMMON_JS_REQUIRE_REGEX,
coffee: /\brequire\s*\(?\s*['"](\.[^'"]+)['"]\)?/g,
ts: COMMON_JS_REQUIRE_REGEX
};

@@ -19,0 +22,0 @@

{
"name": "cjs-rename",
"version": "0.0.9",
"description": "Rename a CJS file thing",
"version": "0.0.10",
"description": "Move your JS files and it will update any dependent files with the new path.",
"main": "lib/index.js",

@@ -29,13 +29,13 @@ "scripts": {

"dependencies": {
"commander": "2.1.x",
"bluebird": "1.0.x",
"recursive-readdir-filter": "0.0.x",
"xtnd": "0.0.11"
"commander": "^2.3.0",
"bluebird": "^2.3.2",
"recursive-readdir-filter": "^0.0.3",
"xtnd": "^0.0.12"
},
"devDependencies": {
"chai": "^1.9.1",
"mocha": "1.17.x",
"ncp": "0.5.x",
"mocha": "^1.21.4",
"ncp": "^0.6.0",
"unwire": "^0.0.4"
}
}
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