Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

module-definition

Package Overview
Dependencies
Maintainers
1
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 3.3.0 to 3.3.1

2

index.js

@@ -30,3 +30,3 @@ 'use strict';

walker.walk(source, function(node) {
if (types.isDefine(node)) {
if (types.isDefineAMD(node)) {
hasDefine = true;

@@ -33,0 +33,0 @@ }

{
"name": "module-definition",
"version": "3.3.0",
"version": "3.3.1",
"description": "Determines if a file is using a CommonJS or AMD module definition",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"ast-module-types": "^2.6.0",
"ast-module-types": "^2.7.1",
"node-source-walk": "^4.0.0"

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