@angular-devkit/build-angular 0.803.2 → 0.803.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "0.803.2",
3
+ "version": "0.803.3",
4
4
  "description": "Angular Webpack Build Facade",
5
5
  "experimental": true,
6
6
  "main": "src/index.js",
7
7
  "typings": "src/index.d.ts",
8
8
  "builders": "builders.json",
9
9
  "dependencies": {
10
- "@angular-devkit/architect": "0.803.2",
11
- "@angular-devkit/build-optimizer": "0.803.2",
12
- "@angular-devkit/build-webpack": "0.803.2",
13
- "@angular-devkit/core": "8.3.2",
10
+ "@angular-devkit/architect": "0.803.3",
11
+ "@angular-devkit/build-optimizer": "0.803.3",
12
+ "@angular-devkit/build-webpack": "0.803.3",
13
+ "@angular-devkit/core": "8.3.3",
14
14
  "@babel/core": "7.5.5",
15
15
  "@babel/preset-env": "7.5.5",
16
- "@ngtools/webpack": "8.3.2",
16
+ "@ngtools/webpack": "8.3.3",
17
17
  "ajv": "6.10.2",
18
18
  "autoprefixer": "9.6.1",
19
19
  "browserslist": "4.6.6",
@@ -272,6 +272,7 @@ function getCommonConfig(wco) {
272
272
  compress: buildOptions.platform == 'server'
273
273
  ? {
274
274
  global_defs: angularGlobalDefinitions,
275
+ keep_fnames: true,
275
276
  }
276
277
  : {
277
278
  pure_getters: buildOptions.buildOptimizer,
@@ -334,6 +334,11 @@ function buildWebpackBrowser(options, context, transforms = {}) {
334
334
  }
335
335
  for (const action of cacheActions) {
336
336
  fs.copyFileSync(action.src, action.dest, fs.constants.COPYFILE_FICLONE);
337
+ if (process.platform !== 'win32') {
338
+ // The cache writes entries as readonly and when using copyFile the permissions will also be copied.
339
+ // See: https://github.com/npm/cacache/blob/073fbe1a9f789ba42d9a41de7b8429c93cf61579/lib/util/move-file.js#L36
340
+ fs.chmodSync(action.dest, 0o644);
341
+ }
337
342
  }
338
343
  if (processActions.length > 0) {
339
344
  await new Promise((resolve, reject) => {