@angular-devkit/build-angular 0.1001.3 → 0.1001.7

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "0.1001.3",
3
+ "version": "0.1001.7",
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.1001.3",
11
- "@angular-devkit/build-optimizer": "0.1001.3",
12
- "@angular-devkit/build-webpack": "0.1001.3",
13
- "@angular-devkit/core": "10.1.3",
10
+ "@angular-devkit/architect": "0.1001.7",
11
+ "@angular-devkit/build-optimizer": "0.1001.7",
12
+ "@angular-devkit/build-webpack": "0.1001.7",
13
+ "@angular-devkit/core": "10.1.7",
14
14
  "@babel/core": "7.11.1",
15
15
  "@babel/generator": "7.11.0",
16
16
  "@babel/plugin-transform-runtime": "7.11.0",
@@ -18,7 +18,7 @@
18
18
  "@babel/runtime": "7.11.2",
19
19
  "@babel/template": "7.10.4",
20
20
  "@jsdevtools/coverage-istanbul-loader": "3.0.5",
21
- "@ngtools/webpack": "10.1.3",
21
+ "@ngtools/webpack": "10.1.7",
22
22
  "autoprefixer": "9.8.6",
23
23
  "babel-loader": "8.1.0",
24
24
  "browserslist": "^4.9.1",
@@ -33,7 +33,7 @@ class DedupeModuleResolvePlugin {
33
33
  const { resource, request, resourceResolveData } = result;
34
34
  const { descriptionFileData, relativePath } = resourceResolveData;
35
35
  // Empty name or versions are no valid primary entrypoints of a library
36
- if (!descriptionFileData.name || !descriptionFileData.version) {
36
+ if (!(descriptionFileData === null || descriptionFileData === void 0 ? void 0 : descriptionFileData.name) || !(descriptionFileData === null || descriptionFileData === void 0 ? void 0 : descriptionFileData.version)) {
37
37
  return;
38
38
  }
39
39
  const moduleId = descriptionFileData.name + '@' + descriptionFileData.version + ':' + relativePath;
@@ -59,6 +59,7 @@
59
59
  "optimization": {
60
60
  "description": "Enables optimization of the build output.",
61
61
  "x-user-analytics": 16,
62
+ "default": false,
62
63
  "oneOf": [
63
64
  {
64
65
  "type": "object",
@@ -41,7 +41,7 @@ map) {
41
41
  filename = nodePath.join(loaderContext.context, map.file);
42
42
  }
43
43
  // Setup a virtual file system instance for the extractor
44
- // * MessageExtractor itself uses readFile and resolve
44
+ // * MessageExtractor itself uses readFile, relative and resolve
45
45
  // * Internal SourceFileLoader (sourcemap support) uses dirname, exists, readFile, and resolve
46
46
  const filesystem = {
47
47
  readFile(path) {
@@ -55,6 +55,9 @@ map) {
55
55
  throw new Error('Unknown file requested: ' + path);
56
56
  }
57
57
  },
58
+ relative(from, to) {
59
+ return nodePath.relative(from, to);
60
+ },
58
61
  resolve(...paths) {
59
62
  return nodePath.resolve(...paths);
60
63
  },
@@ -31,6 +31,7 @@
31
31
  "optimization": {
32
32
  "description": "Enables optimization of the build output.",
33
33
  "x-user-analytics": 16,
34
+ "default": false,
34
35
  "oneOf": [
35
36
  {
36
37
  "type": "object",