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

babel-plugin-wrap-modules-amd

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-wrap-modules-amd - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

lib/__tests__/__snapshots__/index.test.js.snap

8

lib/index.js

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

var buildDeps = (0, _babelTemplate2.default)('[\n \'module\', \'exports\', \'require\' \n ' + (dependencies.length > 0 ? ',' : '') + ' \n ' + dependencies.join() + '\n ]');
var buildDeps = (0, _babelTemplate2.default)('[\n \'module\', \'exports\', \'require\' \n ' + (dependencies.length > 0 ? ',' : '') + ' \n ' + dependencies.join() + '\n ]');

@@ -72,3 +72,7 @@ node.body = [buildDefine({

var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n\t SOURCE\n })\n');
var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n \t SOURCE\n })\n ');
/**
* @return {object} a babel visitor
*/
//# sourceMappingURL=index.js.map
{
"name": "babel-plugin-wrap-modules-amd",
"version": "0.5.0",
"version": "0.6.0",
"description": "A Babel plugin to wrap package modules inside AMD define() calls.",

@@ -8,3 +8,3 @@ "main": "lib/index.js",

"build": "babel --source-maps -D -d lib src",
"prepublish": "babel --source-maps -D -d lib src"
"prepublish": "npm run build"
},

@@ -11,0 +11,0 @@ "devDependencies": {

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