Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve side effect builtin detection #37

@tmpfs

Description

@tmpfs

Currently this just handles module.exports = require('utils') but we also need to handle when arrays and objects are exported:

module.exports = {
  fs: require('fs'),
  inherits: [require('utils').inherits],
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions