Socket
Socket
Sign inDemoInstall

module-definition

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-definition - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

17

package.json
{
"name": "module-definition",
"version": "4.0.0",
"version": "4.1.0",
"description": "Determines if a file is using a CommonJS or AMD module definition",

@@ -15,2 +15,3 @@ "main": "index.js",

"lint": "eslint bin index.js \"test/*.js\"",
"fix": "npm run lint -- --fix",
"mocha": "mocha",

@@ -35,12 +36,12 @@ "test": "npm run lint && npm run mocha",

"dependencies": {
"ast-module-types": "^3.0.0",
"node-source-walk": "^5.0.0"
"ast-module-types": "^4.0.0",
"node-source-walk": "^5.0.1"
},
"devDependencies": {
"c8": "^7.11.0",
"eslint": "^8.10.0",
"memfs": "^2.17.1",
"mocha": "^9.2.1",
"unionfs": "^3.0.2"
"c8": "^7.13.0",
"eslint": "^8.36.0",
"memfs": "^3.4.13",
"mocha": "^9.2.2",
"unionfs": "^4.4.0"
}
}

@@ -1,2 +0,2 @@

# module-definition [![CI](https://img.shields.io/github/workflow/status/dependents/module-definition/CI/main?label=CI&logo=github)](https://github.com/dependents/module-definition/actions/workflows/ci.yml?query=branch%3Amain) [![npm version](https://img.shields.io/npm/v/module-definition)](https://www.npmjs.com/package/module-definition) [![npm downloads](https://img.shields.io/npm/dm/module-definition)](https://www.npmjs.com/package/module-definition)
# module-definition [![CI](https://img.shields.io/github/actions/workflow/status/dependents/module-definition/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/module-definition/actions/workflows/ci.yml?query=branch%3Amain) [![npm version](https://img.shields.io/npm/v/module-definition)](https://www.npmjs.com/package/module-definition) [![npm downloads](https://img.shields.io/npm/dm/module-definition)](https://www.npmjs.com/package/module-definition)

@@ -3,0 +3,0 @@ Determines the module definition type (CommonJS, AMD, ES6, or none) for a given JavaScript file

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