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

@angular-devkit/build-optimizer

Package Overview
Dependencies
Maintainers
2
Versions
481
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/build-optimizer - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

2

package.json
{
"name": "@angular-devkit/build-optimizer",
"version": "0.0.30",
"version": "0.0.31",
"description": "Angular Build Optimizer",

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

@@ -190,2 +190,3 @@ # Angular Build Optimizer

strict?: boolean;
isSideEffectFree?: boolean;
}

@@ -192,0 +193,0 @@ ```

@@ -8,3 +8,4 @@ import { TransformJavascriptOutput } from '../helpers/transform-javascript';

strict?: boolean;
isSideEffectFree?: boolean;
}
export declare function buildOptimizer(options: BuildOptimizerOptions): TransformJavascriptOutput;

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

const wrap_enums_1 = require("../transforms/wrap-enums");
// Angular packages are known to have no side effects.
const whitelistedAngularModules = [

@@ -43,2 +44,12 @@ /[\\/]node_modules[\\/]@angular[\\/]animations[\\/]/,

];
// Factories created by AOT are known to have no side effects and contain es5 code.
// In Angular 2/4 the file path for factories can be `.ts`, but in Angular 5 it is `.js`.
const ngFactories = [
/\.ngfactory\.[jt]s/,
/\.ngstyle\.[jt]s/,
];
function isKnownSideEffectFree(filePath) {
return ngFactories.some((re) => re.test(filePath)) || (whitelistedAngularModules.some((re) => re.test(filePath))
&& es5AngularModules.some((re) => re.test(filePath)));
}
function buildOptimizer(options) {

@@ -64,5 +75,3 @@ const { inputFilePath } = options;

}
if (inputFilePath
&& whitelistedAngularModules.some((re) => re.test(inputFilePath))
&& es5AngularModules.some((re) => re.test(inputFilePath))) {
if (options.isSideEffectFree || inputFilePath && isKnownSideEffectFree(inputFilePath)) {
getTransforms.push(

@@ -78,5 +87,13 @@ // getPrefixFunctionsTransformer is rather dangerous, apply only to known pure es5 modules.

}
return transform_javascript_1.transformJavascript(Object.assign({}, options, { getTransforms, content }));
const transformJavascriptOpts = {
content: content,
inputFilePath: options.inputFilePath,
outputFilePath: options.outputFilePath,
emitSourceMap: options.emitSourceMap,
strict: options.strict,
getTransforms,
};
return transform_javascript_1.transformJavascript(transformJavascriptOpts);
}
exports.buildOptimizer = buildOptimizer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtb3B0aW1pemVyLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9oYW5zbC9Tb3VyY2VzL2hhbnNsL2RldmtpdC8iLCJzb3VyY2VzIjpbInBhY2thZ2VzL2FuZ3VsYXJfZGV2a2l0L2J1aWxkX29wdGltaXplci9zcmMvYnVpbGQtb3B0aW1pemVyL2J1aWxkLW9wdGltaXplci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBOzs7Ozs7R0FNRztBQUNILDJCQUFrQztBQUNsQywwRUFBaUc7QUFDakcseURBQWtFO0FBQ2xFLDZEQUF3RjtBQUN4RixpRUFBOEY7QUFDOUYscUVBQStFO0FBQy9FLHlEQUFrRjtBQUNsRix5REFBa0Y7QUFHbEYsTUFBTSx5QkFBeUIsR0FBRztJQUNoQyxvREFBb0Q7SUFDcEQsZ0RBQWdEO0lBQ2hELGtEQUFrRDtJQUNsRCw4Q0FBOEM7SUFDOUMsK0NBQStDO0lBQy9DLDhDQUE4QztJQUM5QyxrRUFBa0U7SUFDbEUsMERBQTBEO0lBQzFELG9FQUFvRTtJQUNwRSw0REFBNEQ7SUFDNUQsZ0RBQWdEO0lBQ2hELGlEQUFpRDtJQUNqRCxrREFBa0Q7SUFDbEQsNkNBQTZDO0NBQzlDLENBQUM7QUFFRixNQUFNLGlCQUFpQixHQUFHO0lBQ3hCLDJEQUEyRDtJQUMzRCxZQUFZO0lBQ1osOEJBQThCO0lBQzlCLDBEQUEwRDtJQUMxRCwwQ0FBMEM7SUFDMUMsWUFBWTtDQUNi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pbGVUcmFuc2Zvcm1lcixcbiAgICApO1xuICB9XG5cbiAgY29uc3QgdHJhbnNmb3JtSmF2YXNjcmlwdE9wdHM6IFRyYW5zZm9ybUphdmFzY3JpcHRPcHRpb25zID0ge1xuICAgIGNvbnRlbnQ6IGNvbnRlbnQsXG4gICAgaW5wdXRGaWxlUGF0aDogb3B0aW9ucy5pbnB1dEZpbGVQYXRoLFxuICAgIG91dHB1dEZpbGVQYXRoOiBvcHRpb25zLm91dHB1dEZpbGVQYXRoLFxuICAgIGVtaXRTb3VyY2VNYXA6IG9wdGlvbnMuZW1pdFNvdXJjZU1hcCxcbiAgICBzdHJpY3Q6IG9wdGlvbnMuc3RyaWN0LFxuICAgIGdldFRyYW5zZm9ybXMsXG4gIH07XG5cbiAgcmV0dXJuIHRyYW5zZm9ybUphdmFzY3JpcHQodHJhbnNmb3JtSmF2YXNjcmlwdE9wdHMpO1xufVxuIl19

@@ -33,14 +33,2 @@ "use strict";

});
/* Prefix CCF and CMF statements */
content.replace(/\w*__WEBPACK_IMPORTED_MODULE_\d+__angular_core__\["\w+" \/\* (ɵccf|ɵcmf|ɵcrt) \*\/\]\(/mg, (match, _p1, offset) => {
const newContent = `/*@__PURE__*/${match}`;
addReplacement(offset, match.length, newContent);
return newContent;
});
/* Prefix module statements */
content.replace(/new \w*__WEBPACK_IMPORTED_MODULE_\d+__angular_core__\["\w+" \/\* NgModuleFactory \*\/\]/mg, (match, offset) => {
const newContent = `/*@__PURE__*/${match}`;
addReplacement(offset, match.length, newContent);
return newContent;
});
return replacements;

@@ -68,2 +56,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyaWZ5LmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9oYW5zbC9Tb3VyY2VzL2hhbnNsL2RldmtpdC8iLCJzb3VyY2VzIjpbInBhY2thZ2VzL2FuZ3VsYXJfZGV2a2l0L2J1aWxkX29wdGltaXplci9zcmMvcHVyaWZ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CA9IHJlZ2V4LmV4ZWMoc3RyKSkge1xuICAgIG1hdGNoZXMgPSBtYXRjaGVzLmNvbmNhdChtYXRjaFtpbmRleF0uc3BsaXQoJywnKSk7XG4gIH1cblxuICByZXR1cm4gbWF0Y2hlcztcbn1cbiJdfQ==
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