Socket
Socket
Sign inDemoInstall

madge

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

madge - npm Package Compare versions

Comparing version 3.5.1 to 3.6.0

4

.vscode/settings.json

@@ -1,1 +0,3 @@

{}
{
"eslint.enable": true
}
# CHANGELOG
## v3.6.0 (Nov 11, 2019)
* Added support for TypeScript with mixed import syntax (Thanks to @codemonkey800)
## v3.5.1 (Nov 07, 2019)
* Add funding to package.json
* Added funding to package.json

@@ -7,0 +11,0 @@ ## v3.5.0 (Oct 28, 2019)

{
"name": "madge",
"version": "3.5.1",
"version": "3.6.0",
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>",

@@ -50,21 +50,28 @@ "repository": "git://github.com/pahen/madge",

"dependencies": {
"chalk": "^2.4.1",
"commander": "^2.15.1",
"chalk": "^3.0.0",
"commander": "^4.0.1",
"commondir": "^1.0.1",
"debug": "^4.0.1",
"dependency-tree": "^7.0.2",
"graphviz": "^0.0.8",
"ora": "^3.0.0",
"detective-amd": "^3.0.0",
"detective-cjs": "^3.1.1",
"detective-es6": "^2.1.0",
"detective-less": "^1.0.2",
"detective-postcss": "^3.0.1",
"detective-sass": "^3.0.1",
"detective-scss": "^2.0.1",
"detective-stylus": "^1.0.0",
"detective-typescript": "^5.7.0",
"graphviz": "0.0.9",
"ora": "^4.0.2",
"pify": "^4.0.0",
"pluralize": "^7.0.0",
"pretty-ms": "^4.0.0",
"pluralize": "^8.0.0",
"pretty-ms": "^5.0.0",
"rc": "^1.2.7",
"walkdir": "^0.0.12"
"walkdir": "^0.4.1"
},
"devDependencies": {
"@aptoma/eslint-config": "^7.0.1",
"eslint": "^5.12.0",
"expect": "^1.20.2",
"expect-mocha-snapshot": "^1.0.1",
"mocha": "^5.2.0",
"eslint": "^6.6.0",
"mocha": "^6.2.2",
"mz": "^2.7.0",

@@ -71,0 +78,0 @@ "should": "^13.2.3"

@@ -333,6 +333,7 @@ <p align="center">

## Using both CommonJS and ES6 imports in same file?
## Using mixed import syntax in the same file?
Only one syntax is used by default. You can use both though if you're willing to take the degraded performance. Put this in your madge config to enable mixed imports.
For ES6 + CommonJS:
```json

@@ -348,2 +349,13 @@ {

For TypeScript + CommonJS:
```json
{
"detectiveOptions": {
"ts": {
"mixedImports": true
}
}
}
```
## How to ignore `import type` statements in ES6 + Flow?

@@ -350,0 +362,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