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

find-imports

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

find-imports - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

9

index.js

@@ -17,2 +17,9 @@ /* eslint no-console: 0 */

var babelOptions = {};
try {
babelOptions = JSON.parse(fs.readFileSync('.babelrc', 'utf-8'));
} catch (e) {
// No custom babel configuration found - using defaults
}
var defaultOptions = {

@@ -84,3 +91,3 @@ packageImports: true,

try {
var result = babel.transformFileSync(filepath);
var result = babel.transformFileSync(filepath, babelOptions);
var tree = esprima.parse(result.code, {

@@ -87,0 +94,0 @@ sourceType: 'module'

2

package.json
{
"name": "find-imports",
"version": "1.0.0",
"version": "1.1.0",
"description": "Find all imported modules in JavaScript files.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/cheton/find-imports",

Sorry, the diff of this file is not supported yet

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