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

babel-preset-liferay-standard

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-liferay-standard - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

12

lib/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
value: true
});
exports.default = function (context) {
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return {
plugins: [_babelPluginNormalizeRequires2.default, _babelPluginTransformNodeEnvInline2.default, _babelPluginWrapModulesAmd2.default, _babelPluginNameAmdModules2.default, _babelPluginNamespaceAmdDefine2.default]
};
exports.default = function () {
return {
plugins: [_babelPluginNormalizeRequires2.default, _babelPluginTransformNodeEnvInline2.default, _babelPluginWrapModulesAmd2.default, _babelPluginNameAmdModules2.default, _babelPluginNamespaceAmdDefine2.default]
};
};

@@ -14,0 +12,0 @@

{
"name": "babel-preset-liferay-standard",
"version": "1.2.2",
"version": "1.2.3",
"description": "Babel preset for bundling standard Liferay projects.",

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

"dependencies": {
"babel-plugin-name-amd-modules": "^1.2.2",
"babel-plugin-namespace-amd-define": "^1.2.2",
"babel-plugin-normalize-requires": "^1.2.2",
"babel-plugin-name-amd-modules": "^1.2.3",
"babel-plugin-namespace-amd-define": "^1.2.3",
"babel-plugin-normalize-requires": "^1.2.3",
"babel-plugin-transform-node-env-inline": "^0.2.0",
"babel-plugin-wrap-modules-amd": "^1.2.2"
"babel-plugin-wrap-modules-amd": "^1.2.3"
}
}

@@ -8,16 +8,14 @@ import babelPluginNormalizeRequires from 'babel-plugin-normalize-requires';

/**
* @param {Object} context
* @param {Object} opts
* @return {Object} a Babel configuration object
*/
export default function(context, opts = {}) {
return {
plugins: [
babelPluginNormalizeRequires,
babelPluginTransformNodeEnvInline,
babelPluginWrapModulesAmd,
babelPluginNameAmdModules,
babelPluginNamespaceAmdDefine,
],
};
export default function() {
return {
plugins: [
babelPluginNormalizeRequires,
babelPluginTransformNodeEnvInline,
babelPluginWrapModulesAmd,
babelPluginNameAmdModules,
babelPluginNamespaceAmdDefine,
],
};
}

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