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

serverless-build-plugin

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-build-plugin - npm Package Compare versions

Comparing version 2.0.1-0 to 2.0.1-1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## 2.0.1 - Jun 13 2017
- [x] Removed `babili` option.
- You can add it to your .babelrc yourself
## 2.0.0 - Jun 12 2017

@@ -2,0 +7,0 @@

2

package.json
{
"name": "serverless-build-plugin",
"version": "2.0.1-0",
"version": "2.0.1-1",
"description": "A Node.js focused build optimizer plugin for serverless",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -296,2 +296,6 @@ "use strict";

: undefined,
babel: this.config.babel,
babili: this.config.babili,
sourceMaps: this.config.sourceMaps,
transformExtensions: this.config.transformExtensions,
logger: this.logger,

@@ -298,0 +302,0 @@ archive: artifact,

@@ -14,3 +14,3 @@ /// <reference types="archiver" />

babel: any;
babili: false;
babili: boolean;
uglify: any;

@@ -25,6 +25,6 @@ sourceMaps: boolean;

babel?: any;
babili?: false;
babili?: boolean;
uglify?: any;
sourceMaps?: boolean;
transformExtensions?: string;
transformExtensions?: string[];
followSymlinks?: boolean;

@@ -31,0 +31,0 @@ });

@@ -53,2 +53,3 @@ "use strict";

function SourceBundler(config) {
this.babili = false;
this.sourceMaps = false;

@@ -55,0 +56,0 @@ this.transformExtensions = ['ts', 'js', 'jsx', 'tsx'];

@@ -21,7 +21,4 @@ "use strict";

}
try {
// eslint-disable-next-line
this.babel = require(requireResolve('babel-core', { cwd: this.options.servicePath }));
}
catch (err) { }
// eslint-disable-next-line
this.babel = require(requireResolve('babel-core', { cwd: this.options.servicePath }));
}

@@ -28,0 +25,0 @@ BabelTransform.prototype.run = function (_a) {

@@ -19,7 +19,4 @@ "use strict";

this.options = __assign({ skipOnError: true, logErrors: false }, options);
try {
// eslint-disable-next-line
this.uglify = require(requireResolve('uglify-js', { cwd: this.options.servicePath }));
}
catch (err) { }
// eslint-disable-next-line
this.uglify = require(requireResolve('uglify-js', { cwd: this.options.servicePath }));
}

@@ -26,0 +23,0 @@ UglifyTransform.prototype.run = function (_a) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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