Changeset e29cc2e for trip-planner-front/node_modules/@angular-devkit
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/@angular-devkit
- Files:
-
- 10 added
- 16 edited
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/@angular-devkit/architect/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/architect@0.1202.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/architect@0.1202.9", 10 "_id": "@angular-devkit/architect@0.1202.9", 2 "_from": "@angular-devkit/architect@0.1202.13", 3 "_id": "@angular-devkit/architect@0.1202.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- s2NcFqZjsdYoR0vhJWLCwykF6hG7F0C5fJJs49i6IJMKj5Ai58z7d2IFYvD8nA60paMvjFS14OQ+E/FEEEZ88Q==",5 "_integrity": "sha512-LXgiidXwBgyWPqqWK4xR1/kCPQTMTzG5w+s7+LvENUZwbcdl6CKrOMjfgjo6WPr6yeq+WWQvPCD4pZ6nXRTm7A==", 13 6 "_location": "/@angular-devkit/architect", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/architect@0.1202. 9",11 "raw": "@angular-devkit/architect@0.1202.13", 19 12 "name": "@angular-devkit/architect", 20 13 "escapedName": "@angular-devkit%2farchitect", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "0.1202. 9",15 "rawSpec": "0.1202.13", 23 16 "saveSpec": null, 24 "fetchSpec": "0.1202. 9"17 "fetchSpec": "0.1202.13" 25 18 }, 26 19 "_requiredBy": [ … … 29 22 "/@angular/cli" 30 23 ], 31 "_resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1202.9.tgz", 32 "_spec": "0.1202.9", 33 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 24 "_resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1202.13.tgz", 25 "_shasum": "b9b883d62f628a6b31ce071da91e268f61da00ef", 26 "_spec": "@angular-devkit/architect@0.1202.13", 27 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@angular-devkit\\build-angular", 34 28 "author": { 35 29 "name": "Angular Authors" … … 39 33 }, 40 34 "builders": "./builders/builders.json", 35 "bundleDependencies": false, 41 36 "dependencies": { 42 "@angular-devkit/core": "12.2. 9",37 "@angular-devkit/core": "12.2.13", 43 38 "rxjs": "6.6.7" 44 39 }, 40 "deprecated": false, 45 41 "description": "Angular Build Facade", 46 42 "engines": { 47 43 "node": "^12.14.1 || >=14.0.0", 48 "npm": "^6.11.0 || ^7.5.6 ",44 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 49 45 "yarn": ">= 1.13.0" 50 46 }, … … 66 62 }, 67 63 "typings": "src/index.d.ts", 68 "version": "0.1202. 9"64 "version": "0.1202.13" 69 65 } -
trip-planner-front/node_modules/@angular-devkit/build-angular/node_modules/esbuild-wasm/lib/main.js
r59329aa re29cc2e 710 710 isFirstPacket = false; 711 711 let binaryVersion = String.fromCharCode(...bytes); 712 if (binaryVersion !== "0.13. 4") {713 throw new Error(`Cannot start service: Host version "${"0.13. 4"}" does not match binary version ${JSON.stringify(binaryVersion)}`);712 if (binaryVersion !== "0.13.8") { 713 throw new Error(`Cannot start service: Host version "${"0.13.8"}" does not match binary version ${JSON.stringify(binaryVersion)}`); 714 714 } 715 715 return; … … 1598 1598 "freebsd arm64 LE": "esbuild-freebsd-arm64", 1599 1599 "freebsd x64 LE": "esbuild-freebsd-64", 1600 "openbsd x64 LE": "esbuild-openbsd-64",1601 1600 "linux arm LE": "esbuild-linux-arm", 1602 1601 "linux arm64 LE": "esbuild-linux-arm64", … … 1605 1604 "linux ppc64 LE": "esbuild-linux-ppc64le", 1606 1605 "linux x64 LE": "esbuild-linux-64", 1606 "netbsd x64 LE": "esbuild-netbsd-64", 1607 "openbsd x64 LE": "esbuild-openbsd-64", 1607 1608 "sunos x64 LE": "esbuild-sunos-64" 1608 1609 }; … … 1686 1687 } 1687 1688 var _a; 1688 var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.13. 4";1689 var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.13.8"; 1689 1690 var esbuildCommandAndArgs = () => { 1690 if ( path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib") {1691 if ((!ESBUILD_BINARY_PATH || true) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) { 1691 1692 throw new Error(`The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle. 1692 1693 … … 1745 1746 } 1746 1747 }; 1747 var version = "0.13. 4";1748 var version = "0.13.8"; 1748 1749 var build = (options) => ensureServiceIsRunning().build(options); 1749 1750 var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions); … … 1854 1855 return longLivedService; 1855 1856 let [command, args] = esbuildCommandAndArgs(); 1856 let child = child_process.spawn(command, args.concat(`--service=${"0.13. 4"}`, "--ping"), {1857 let child = child_process.spawn(command, args.concat(`--service=${"0.13.8"}`, "--ping"), { 1857 1858 windowsHide: true, 1858 1859 stdio: ["pipe", "pipe", "inherit"], … … 1961 1962 }); 1962 1963 callback(service); 1963 let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.13. 4"}`), {1964 let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.13.8"}`), { 1964 1965 cwd: defaultWD, 1965 1966 windowsHide: true, … … 1977 1978 let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel(); 1978 1979 let worker = new worker_threads2.Worker(__filename, { 1979 workerData: { workerPort, defaultWD, esbuildVersion: "0.13. 4" },1980 workerData: { workerPort, defaultWD, esbuildVersion: "0.13.8" }, 1980 1981 transferList: [workerPort], 1981 1982 execArgv: [] -
trip-planner-front/node_modules/@angular-devkit/build-angular/node_modules/esbuild-wasm/wasm_exec.js
r59329aa re29cc2e 593 593 }); 594 594 595 // The linker guarantees global data starts from at least wasmMinDataAddr. 596 // Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr. 597 const wasmMinDataAddr = 4096 + 4096; 598 if (offset >= wasmMinDataAddr) { 599 throw new Error("command line too long"); 600 } 601 595 602 this._inst.exports.run(argc, argv); 596 603 if (this.exited) { -
trip-planner-front/node_modules/@angular-devkit/build-angular/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/build-angular@12.2.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/build-angular@12.2.9", 10 "_id": "@angular-devkit/build-angular@12.2.9", 2 "_from": "@angular-devkit/build-angular@12.2.13", 3 "_id": "@angular-devkit/build-angular@12.2.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- A8yddhGpUnrTcA4WCiUxwklFbfkNMfvlST5CT9VLVjz4MEwwOpdaNmIF39+NMr4XTgOBbP6Bq/t3ciIsB5+/Uw==",5 "_integrity": "sha512-iJ1P/RZ1hk2n/HtEqB5ohXvHa+Hf0BXShYskSGrn6/klcTb0eJTCREsFxHk7mNEmRIGPWkjbLAslqpPgwiagXg==", 13 6 "_location": "/@angular-devkit/build-angular", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/build-angular@12.2. 9",11 "raw": "@angular-devkit/build-angular@12.2.13", 19 12 "name": "@angular-devkit/build-angular", 20 13 "escapedName": "@angular-devkit%2fbuild-angular", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "12.2. 9",15 "rawSpec": "12.2.13", 23 16 "saveSpec": null, 24 "fetchSpec": "12.2. 9"17 "fetchSpec": "12.2.13" 25 18 }, 26 19 "_requiredBy": [ 27 "#DEV:/" 20 "#DEV:/", 21 "#USER" 28 22 ], 29 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-12.2.9.tgz", 30 "_spec": "12.2.9", 23 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-12.2.13.tgz", 24 "_shasum": "f5564d3ec9db132956473bb904bb3590482f5b36", 25 "_spec": "@angular-devkit/build-angular@12.2.13", 31 26 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 32 27 "author": { … … 37 32 }, 38 33 "builders": "builders.json", 34 "bundleDependencies": false, 39 35 "dependencies": { 40 36 "@ampproject/remapping": "1.0.1", 41 "@angular-devkit/architect": "0.1202. 9",42 "@angular-devkit/build-optimizer": "0.1202. 9",43 "@angular-devkit/build-webpack": "0.1202. 9",44 "@angular-devkit/core": "12.2. 9",37 "@angular-devkit/architect": "0.1202.13", 38 "@angular-devkit/build-optimizer": "0.1202.13", 39 "@angular-devkit/build-webpack": "0.1202.13", 40 "@angular-devkit/core": "12.2.13", 45 41 "@babel/core": "7.14.8", 46 42 "@babel/generator": "7.14.8", … … 54 50 "@discoveryjs/json-ext": "0.5.3", 55 51 "@jsdevtools/coverage-istanbul-loader": "3.0.5", 56 "@ngtools/webpack": "12.2. 9",52 "@ngtools/webpack": "12.2.13", 57 53 "ansi-colors": "4.1.1", 58 54 "babel-loader": "8.2.2", … … 63 59 "copy-webpack-plugin": "9.0.1", 64 60 "core-js": "3.16.0", 65 "critters": "0.0.1 0",61 "critters": "0.0.12", 66 62 "css-loader": "6.2.0", 67 63 "css-minimizer-webpack-plugin": "3.0.2", 68 "esbuild": "0.13. 4",69 "esbuild-wasm": "0.13. 4",64 "esbuild": "0.13.8", 65 "esbuild-wasm": "0.13.8", 70 66 "find-cache-dir": "3.3.1", 71 67 "glob": "7.1.7", … … 77 73 "license-webpack-plugin": "2.3.20", 78 74 "loader-utils": "2.0.0", 79 "mini-css-extract-plugin": "2. 2.1",75 "mini-css-extract-plugin": "2.4.2", 80 76 "minimatch": "3.0.4", 81 77 "open": "8.2.1", … … 109 105 "webpack-subresource-integrity": "1.5.2" 110 106 }, 107 "deprecated": false, 111 108 "description": "Angular Webpack Build Facade", 112 109 "engines": { 113 110 "node": "^12.14.1 || >=14.0.0", 114 "npm": "^6.11.0 || ^7.5.6 ",111 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 115 112 "yarn": ">= 1.13.0" 116 113 }, … … 127 124 "name": "@angular-devkit/build-angular", 128 125 "optionalDependencies": { 129 "esbuild": "0.13. 4"126 "esbuild": "0.13.8" 130 127 }, 131 128 "peerDependencies": { … … 168 165 }, 169 166 "typings": "src/index.d.ts", 170 "version": "12.2. 9"167 "version": "12.2.13" 171 168 } -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/babel/babel-loader.d.ts
r59329aa re29cc2e 8 8 9 9 declare module 'babel-loader' { 10 type BabelLoaderCustomizer<T> = ( 11 babel: typeof import('@babel/core'), 12 ) => { 10 type BabelLoaderCustomizer<T> = (babel: typeof import('@babel/core')) => { 13 11 customOptions?( 14 12 this: import('webpack').loader.LoaderContext, … … 21 19 loaderArguments: { source: string; map?: unknown; customOptions: T }, 22 20 ): import('@babel/core').TransformOptions; 21 result?( 22 this: import('webpack').loader.LoaderContext, 23 result: import('@babel/core').BabelFileResult, 24 context: { 25 source: string; 26 map?: unknown; 27 customOptions: T; 28 configuration: import('@babel/core').PartialConfig; 29 options: import('@babel/core').TransformOptions; 30 }, 31 ): import('@babel/core').BabelFileResult; 23 32 }; 24 33 function custom<T>(customizer: BabelLoaderCustomizer<T>): import('webpack').loader.Loader; -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
r59329aa re29cc2e 7 7 * found in the LICENSE file at https://angular.io/license 8 8 */ 9 var __importDefault = (this && this.__importDefault) || function (mod) { 10 return (mod && mod.__esModule) ? mod : { "default": mod }; 11 }; 9 12 Object.defineProperty(exports, "__esModule", { value: true }); 13 const remapping_1 = __importDefault(require("@ampproject/remapping")); 10 14 const linker_1 = require("@angular/compiler-cli/linker"); 11 15 const babel_loader_1 = require("babel-loader"); … … 119 123 return { 120 124 ...configuration.options, 121 // Workaround for https://github.com/babel/babel-loader/pull/896 is available122 // Delete once the above PR is released125 // Using `false` disables babel from attempting to locate sourcemaps or process any inline maps. 126 // The babel types do not include the false option even though it is valid 123 127 // eslint-disable-next-line @typescript-eslint/no-explicit-any 124 inputSourceMap: configuration.options.inputSourceMap ||false,128 inputSourceMap: false, 125 129 plugins, 126 130 presets: [ … … 147 151 }; 148 152 }, 153 result(result, { map: inputSourceMap }) { 154 if (result.map && inputSourceMap) { 155 // Merge the intermediate sourcemap generated by babel with the input source map. 156 // The casting is required due to slight differences in the types for babel and 157 // `@ampproject/remapping` source map objects but both are compatible with Webpack. 158 // This method for merging is used because it provides more accurate output 159 // and is faster while using less memory. 160 result.map = { 161 // Convert the SourceMap back to simple plain object. 162 // This is needed because otherwise code-coverage will fail with `don't know how to turn this value into a node` 163 // Which is throw by Babel when it is invoked again from `istanbul-lib-instrument`. 164 // https://github.com/babel/babel/blob/780aa48d2a34dc55f556843074b6aed45e7eabeb/packages/babel-types/src/converters/valueToNode.ts#L115-L130 165 ...remapping_1.default([result.map, inputSourceMap], () => null), 166 }; 167 } 168 return result; 169 }, 149 170 }; 150 171 }); -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/browser/index.js
r59329aa re29cc2e 132 132 // eslint-disable-next-line max-lines-per-function 133 133 operators_1.concatMap(async (buildEvent) => { 134 var _a, _b, _c, _d, _e, _f, _g, _h ;134 var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; 135 135 const spinner = new spinner_1.Spinner(); 136 136 spinner.enabled = options.progress !== false; … … 242 242 try { 243 243 map = fs.readFileSync(filename + '.map', 'utf8'); 244 if (es5Polyfills ) {244 if (es5Polyfills || i18n.shouldInline) { 245 245 fs.unlinkSync(filename + '.map'); 246 246 } … … 251 251 fs.unlinkSync(filename); 252 252 filename = filename.replace(/\-es20\d{2}/, ''); 253 } 254 else if (i18n.shouldInline) { 255 // Original files must be deleted with i18n to avoid the original files from 256 // being copied over the translated files when copying the project assets. 257 fs.unlinkSync(filename); 253 258 } 254 259 const es2015Polyfills = file.file.startsWith('polyfills-es20'); … … 266 271 ignoreOriginal: es5Polyfills, 267 272 optimizeOnly: es2015Polyfills, 273 // When using i18n, file results are kept in memory for further processing 274 memoryMode: i18n.shouldInline, 268 275 }); 269 276 // ES2015 polyfills are only optimized; optimization check was performed above … … 280 287 let processRuntimeAction; 281 288 for (const action of actions) { 289 if (options.verbose) { 290 context.logger.info(`[${new Date().toISOString()}] Differential loading file queued: ${action.filename}`); 291 } 282 292 // If SRI is enabled always process the runtime bundle 283 293 // Lazy route integrity values are stored in the runtime bundle … … 289 299 } 290 300 } 291 const executor = new action_executor_1.BundleActionExecutor({ cachePath: cacheDownlevelPath, i18n }, options.subresourceIntegrity ? 'sha384' : undefined);301 const differentialLoadingExecutor = new action_executor_1.BundleActionExecutor({ cachePath: cacheDownlevelPath, i18n }, options.subresourceIntegrity ? 'sha384' : undefined); 292 302 // Execute the bundle processing actions 293 303 try { 294 304 spinner.start('Generating ES5 bundles for differential loading...'); 295 for await (const result of executor.processAll(processActions)) { 305 for await (const result of differentialLoadingExecutor.processAll(processActions)) { 306 if (options.verbose) { 307 if (result.original) { 308 context.logger.info(`[${new Date().toISOString()}] Differential loading file processed: ${result.original.filename}`); 309 } 310 if (result.downlevel) { 311 context.logger.info(`[${new Date().toISOString()}] Differential loading file processed: ${result.downlevel.filename}`); 312 } 313 } 296 314 processResults.push(result); 297 315 } 298 // Runtime must be processed after all other files 299 if (processRuntimeAction) { 300 const runtimeOptions = { 301 ...processRuntimeAction, 302 runtimeData: processResults, 303 supportedBrowsers: buildBrowserFeatures.supportedBrowsers, 304 }; 305 processResults.push(await Promise.resolve().then(() => __importStar(require('../utils/process-bundle'))).then((m) => m.process(runtimeOptions))); 306 } 307 spinner.succeed('ES5 bundle generation complete.'); 308 if (i18n.shouldInline) { 309 spinner.start('Generating localized bundles...'); 310 const inlineActions = []; 311 const processedFiles = new Set(); 312 for (const result of processResults) { 313 if (result.original) { 314 inlineActions.push({ 315 filename: path.basename(result.original.filename), 316 code: fs.readFileSync(result.original.filename, 'utf8'), 317 map: result.original.map && 318 fs.readFileSync(result.original.map.filename, 'utf8'), 319 outputPath: baseOutputPath, 320 es5: false, 321 missingTranslation: options.i18nMissingTranslation, 322 setLocale: result.name === mainChunkId, 323 }); 324 processedFiles.add(result.original.filename); 325 if (result.original.map) { 326 processedFiles.add(result.original.map.filename); 316 } 317 finally { 318 differentialLoadingExecutor.stop(); 319 } 320 // Runtime must be processed after all other files 321 if (processRuntimeAction) { 322 const runtimeOptions = { 323 ...processRuntimeAction, 324 runtimeData: processResults, 325 supportedBrowsers: buildBrowserFeatures.supportedBrowsers, 326 }; 327 processResults.push(await Promise.resolve().then(() => __importStar(require('../utils/process-bundle'))).then((m) => m.process(runtimeOptions))); 328 } 329 if (options.verbose) { 330 context.logger.info(`[${new Date().toISOString()}] Differential loading processing complete.`); 331 } 332 spinner.succeed('ES5 bundle generation complete.'); 333 if (i18n.shouldInline) { 334 spinner.start('Generating localized bundles...'); 335 const inlineActions = []; 336 for (const result of processResults) { 337 if (result.original) { 338 if (options.verbose) { 339 context.logger.info(`[${new Date().toISOString()}] i18n localize file queued: ${result.original.filename}`); 340 } 341 inlineActions.push({ 342 filename: path.basename(result.original.filename), 343 // Memory mode is always enabled for i18n 344 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion 345 code: result.original.content, 346 map: (_a = result.original.map) === null || _a === void 0 ? void 0 : _a.content, 347 outputPath: baseOutputPath, 348 es5: false, 349 missingTranslation: options.i18nMissingTranslation, 350 setLocale: result.name === mainChunkId, 351 }); 352 } 353 if (result.downlevel) { 354 if (options.verbose) { 355 context.logger.info(`[${new Date().toISOString()}] i18n localize file queued: ${result.downlevel.filename}`); 356 } 357 inlineActions.push({ 358 filename: path.basename(result.downlevel.filename), 359 // Memory mode is always enabled for i18n 360 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion 361 code: result.downlevel.content, 362 map: (_b = result.downlevel.map) === null || _b === void 0 ? void 0 : _b.content, 363 outputPath: baseOutputPath, 364 es5: true, 365 missingTranslation: options.i18nMissingTranslation, 366 setLocale: result.name === mainChunkId, 367 }); 368 } 369 } 370 let hasErrors = false; 371 const i18nExecutor = new action_executor_1.BundleActionExecutor({ i18n }, options.subresourceIntegrity ? 'sha384' : undefined); 372 try { 373 let localizedCount = 0; 374 for await (const result of i18nExecutor.inlineAll(inlineActions)) { 375 localizedCount++; 376 if (options.verbose) { 377 context.logger.info(`[${new Date().toISOString()}] (${localizedCount}/${inlineActions.length}) Localized "${result.file}" [${result.count} translation(s)].`); 378 } 379 for (const diagnostic of result.diagnostics) { 380 spinner.stop(); 381 if (diagnostic.type === 'error') { 382 hasErrors = true; 383 context.logger.error(diagnostic.message); 327 384 } 328 } 329 if (result.downlevel) { 330 inlineActions.push({ 331 filename: path.basename(result.downlevel.filename), 332 code: fs.readFileSync(result.downlevel.filename, 'utf8'), 333 map: result.downlevel.map && 334 fs.readFileSync(result.downlevel.map.filename, 'utf8'), 335 outputPath: baseOutputPath, 336 es5: true, 337 missingTranslation: options.i18nMissingTranslation, 338 setLocale: result.name === mainChunkId, 339 }); 340 processedFiles.add(result.downlevel.filename); 341 if (result.downlevel.map) { 342 processedFiles.add(result.downlevel.map.filename); 385 else { 386 context.logger.warn(diagnostic.message); 343 387 } 344 } 345 } 346 let hasErrors = false; 347 try { 348 for await (const result of executor.inlineAll(inlineActions)) { 349 if (options.verbose) { 350 context.logger.info(`Localized "${result.file}" [${result.count} translation(s)].`); 351 } 352 for (const diagnostic of result.diagnostics) { 353 spinner.stop(); 354 if (diagnostic.type === 'error') { 355 hasErrors = true; 356 context.logger.error(diagnostic.message); 357 } 358 else { 359 context.logger.warn(diagnostic.message); 360 } 361 spinner.start(); 362 } 363 } 364 // Copy any non-processed files into the output locations 365 await copy_assets_1.copyAssets([ 366 { 367 glob: '**/*', 368 input: webpackOutputPath, 369 output: '', 370 ignore: [...processedFiles].map((f) => path.relative(webpackOutputPath, f)), 371 }, 372 ], Array.from(outputPaths.values()), ''); 373 } 374 catch (err) { 375 spinner.fail('Localized bundle generation failed.'); 376 return { success: false, error: mapErrorToMessage(err) }; 377 } 378 if (hasErrors) { 379 spinner.fail('Localized bundle generation failed.'); 380 } 381 else { 382 spinner.succeed('Localized bundle generation complete.'); 383 } 384 if (hasErrors) { 385 return { success: false }; 386 } 387 } 388 } 389 finally { 390 executor.stop(); 388 spinner.start(); 389 } 390 } 391 // Copy any non-processed files into the output locations 392 await copy_assets_1.copyAssets([ 393 { 394 glob: '**/*', 395 input: webpackOutputPath, 396 output: '', 397 }, 398 ], Array.from(outputPaths.values()), ''); 399 } 400 catch (err) { 401 spinner.fail('Localized bundle generation failed.'); 402 return { success: false, error: mapErrorToMessage(err) }; 403 } 404 finally { 405 i18nExecutor.stop(); 406 } 407 if (hasErrors) { 408 spinner.fail('Localized bundle generation failed.'); 409 } 410 else { 411 spinner.succeed('Localized bundle generation complete.'); 412 } 413 if (hasErrors) { 414 return { success: false }; 415 } 391 416 } 392 417 for (const result of processResults) { 393 const chunk = (_ a = webpackStats.chunks) === null || _a === void 0 ? void 0 : _a.find((chunk) => { var _a; return ((_a = chunk.id) === null || _a === void 0 ? void 0 : _a.toString()) === result.name; });418 const chunk = (_c = webpackStats.chunks) === null || _c === void 0 ? void 0 : _c.find((chunk) => { var _a; return ((_a = chunk.id) === null || _a === void 0 ? void 0 : _a.toString()) === result.name; }); 394 419 if (result.original) { 395 420 bundleInfoStats.push(generateBundleInfoStats(result.original, chunk, 'modern')); … … 399 424 } 400 425 } 401 const unprocessedChunks = ((_ b = webpackStats.chunks) === null || _b === void 0 ? void 0 : _b.filter((chunk) => !processResults.find((result) => { var _a; return ((_a = chunk.id) === null || _a === void 0 ? void 0 : _a.toString()) === result.name; }))) || [];426 const unprocessedChunks = ((_d = webpackStats.chunks) === null || _d === void 0 ? void 0 : _d.filter((chunk) => !processResults.find((result) => { var _a; return ((_a = chunk.id) === null || _a === void 0 ? void 0 : _a.toString()) === result.name; }))) || []; 402 427 for (const chunk of unprocessedChunks) { 403 const asset = (_ c = webpackStats.assets) === null || _c === void 0 ? void 0 : _c.find((a) => { var _a; return a.name === ((_a = chunk.files) === null || _a === void 0 ? void 0 : _a[0]); });428 const asset = (_e = webpackStats.assets) === null || _e === void 0 ? void 0 : _e.find((a) => { var _a; return a.name === ((_a = chunk.files) === null || _a === void 0 ? void 0 : _a[0]); }); 404 429 bundleInfoStats.push(stats_1.generateBundleStats({ ...chunk, size: asset === null || asset === void 0 ? void 0 : asset.size })); 405 430 } … … 422 447 switch (severity) { 423 448 case bundle_calculator_1.ThresholdSeverity.Warning: 424 (_ d = webpackStats.warnings) === null || _d === void 0 ? void 0 : _d.push({ message });449 (_f = webpackStats.warnings) === null || _f === void 0 ? void 0 : _f.push({ message }); 425 450 break; 426 451 case bundle_calculator_1.ThresholdSeverity.Error: 427 (_ e = webpackStats.errors) === null || _e === void 0 ? void 0 : _e.push({ message });452 (_g = webpackStats.errors) === null || _g === void 0 ? void 0 : _g.push({ message }); 428 453 break; 429 454 default: … … 435 460 if (buildSuccess) { 436 461 // Copy assets 437 if (!options.watch && ((_ f = options.assets) === null || _f === void 0 ? void 0 : _f.length)) {462 if (!options.watch && ((_h = options.assets) === null || _h === void 0 ? void 0 : _h.length)) { 438 463 spinner.start('Copying assets...'); 439 464 try { … … 450 475 const WOFFSupportNeeded = !buildBrowserFeatures.isFeatureSupported('woff2'); 451 476 const entrypoints = package_chunk_sort_1.generateEntryPoints({ 452 scripts: (_ g = options.scripts) !== null && _g !== void 0 ? _g: [],453 styles: (_ h = options.styles) !== null && _h !== void 0 ? _h: [],477 scripts: (_j = options.scripts) !== null && _j !== void 0 ? _j : [], 478 styles: (_k = options.styles) !== null && _k !== void 0 ? _k : [], 454 479 }); 455 480 const indexHtmlGenerator = new index_html_generator_1.IndexHtmlGenerator({ -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/dev-server/index.js
r59329aa re29cc2e 275 275 logger.info(`\n${color_1.colors.greenBright(color_1.colors.symbols.check)} Compiled successfully.`); 276 276 } 277 else { 278 logger.info(`\n${color_1.colors.redBright(color_1.colors.symbols.cross)} Failed to compile.`); 279 } 277 280 return { ...buildEvent, baseUrl: serverAddress }; 278 281 })); -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/action-executor.js
r59329aa re29cc2e 63 63 for (const action of actions) { 64 64 const execution = executor(action); 65 executions.set(execution, execution.then((result) => { 66 executions.delete(execution); 67 return result; 68 })); 65 executions.set(execution, execution.then((result) => [execution, result])); 69 66 } 70 67 while (executions.size > 0) { 71 yield Promise.race(executions.values()); 68 const [execution, result] = await Promise.race(executions.values()); 69 executions.delete(execution); 70 yield result; 72 71 } 73 72 } -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/process-bundle.d.ts
r59329aa re29cc2e 25 25 replacements?: [string, string][]; 26 26 supportedBrowsers?: string[] | Record<string, string>; 27 memoryMode?: boolean; 27 28 } 28 29 export interface ProcessBundleResult { … … 36 37 size: number; 37 38 integrity?: string; 39 content?: string; 38 40 map?: { 39 41 filename: string; 40 42 size: number; 43 content?: string; 41 44 }; 42 45 } -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/process-bundle.js
r59329aa re29cc2e 135 135 exports.process = process; 136 136 async function processBundle(options) { 137 const { optimize, isOriginal, code, map, downlevelMap, filename: filepath, hiddenSourceMaps, cacheKeys = [], integrityAlgorithm, } = options;137 const { optimize, isOriginal, code, map, downlevelMap, filename: filepath, hiddenSourceMaps, cacheKeys = [], integrityAlgorithm, memoryMode, } = options; 138 138 const filename = path.basename(filepath); 139 139 let resultCode = code; … … 169 169 } 170 170 await cachePut(mapContent, cacheKeys[isOriginal ? 1 /* OriginalMap */ : 3 /* DownlevelMap */]); 171 fs.writeFileSync(filepath + '.map', mapContent); 172 } 173 const fileResult = createFileEntry(filepath, resultCode, mapContent, integrityAlgorithm); 171 if (!memoryMode) { 172 fs.writeFileSync(filepath + '.map', mapContent); 173 } 174 } 175 const fileResult = createFileEntry(filepath, resultCode, mapContent, memoryMode, integrityAlgorithm); 174 176 await cachePut(resultCode, cacheKeys[isOriginal ? 0 /* OriginalCode */ : 2 /* DownlevelCode */], fileResult.integrity); 175 fs.writeFileSync(filepath, resultCode); 177 if (!memoryMode) { 178 fs.writeFileSync(filepath, resultCode); 179 } 176 180 return fileResult; 177 181 } … … 201 205 return { code: minifyOutput.code, map: minifyOutput.map }; 202 206 } 203 function createFileEntry(filename, code, map, integrityAlgorithm) {207 function createFileEntry(filename, code, map, memoryMode, integrityAlgorithm) { 204 208 return { 205 209 filename: filename, 206 210 size: Buffer.byteLength(code), 207 211 integrity: integrityAlgorithm && generateIntegrityValue(integrityAlgorithm, code), 212 content: memoryMode ? code : undefined, 208 213 map: !map 209 214 ? undefined … … 211 216 filename: filename + '.map', 212 217 size: Buffer.byteLength(map), 218 content: memoryMode ? map : undefined, 213 219 }, 214 220 }; -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/webpack/configs/browser.js
r59329aa re29cc2e 38 38 resolve: { 39 39 mainFields: ['es2015', 'browser', 'module', 'main'], 40 conditionNames: ['es2015', '...'], 40 41 }, 41 42 output: { -
trip-planner-front/node_modules/@angular-devkit/build-angular/src/webpack/configs/test.js
r59329aa re29cc2e 62 62 resolve: { 63 63 mainFields: ['es2015', 'browser', 'module', 'main'], 64 conditionNames: ['es2015', '...'], 64 65 }, 65 66 devtool: false, -
trip-planner-front/node_modules/@angular-devkit/build-optimizer/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/build-optimizer@0.1202.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/build-optimizer@0.1202.9", 10 "_id": "@angular-devkit/build-optimizer@0.1202.9", 2 "_from": "@angular-devkit/build-optimizer@0.1202.13", 3 "_id": "@angular-devkit/build-optimizer@0.1202.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- yDR7f2fRWzJdqa7U0eIYu5fCRIae3tcSsYE18UPiV5ypGK3talMIpZ1ibkklr9Nm9SAB6Js1/EdVBGB5jo3R9A==",5 "_integrity": "sha512-XX6rX5+mAl+MiIJDvi5N5mBLWOoskhMJ5r/G1PEqv0CMMJSSw60zUTndjxfq/nrX0PtsV3j/aqHN4Sj0w/gumg==", 13 6 "_location": "/@angular-devkit/build-optimizer", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/build-optimizer@0.1202. 9",11 "raw": "@angular-devkit/build-optimizer@0.1202.13", 19 12 "name": "@angular-devkit/build-optimizer", 20 13 "escapedName": "@angular-devkit%2fbuild-optimizer", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "0.1202. 9",15 "rawSpec": "0.1202.13", 23 16 "saveSpec": null, 24 "fetchSpec": "0.1202. 9"17 "fetchSpec": "0.1202.13" 25 18 }, 26 19 "_requiredBy": [ 27 20 "/@angular-devkit/build-angular" 28 21 ], 29 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.1202.9.tgz", 30 "_spec": "0.1202.9", 31 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 22 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.1202.13.tgz", 23 "_shasum": "7f0b13368cc2a08b1f4789ab1296a1609f5049ea", 24 "_spec": "@angular-devkit/build-optimizer@0.1202.13", 25 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@angular-devkit\\build-angular", 32 26 "author": { 33 27 "name": "Angular Authors" … … 39 33 "url": "https://github.com/angular/angular-cli/issues" 40 34 }, 35 "bundleDependencies": false, 41 36 "dependencies": { 42 37 "source-map": "0.7.3", … … 44 39 "typescript": "4.3.5" 45 40 }, 41 "deprecated": false, 46 42 "description": "Angular Build Optimizer", 47 43 "engines": { 48 44 "node": "^12.14.1 || >=14.0.0", 49 "npm": "^6.11.0 || ^7.5.6 ",45 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 50 46 "yarn": ">= 1.13.0" 51 47 }, … … 75 71 }, 76 72 "typings": "src/index.d.ts", 77 "version": "0.1202. 9"73 "version": "0.1202.13" 78 74 } -
trip-planner-front/node_modules/@angular-devkit/build-webpack/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/build-webpack@0.1202.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/build-webpack@0.1202.9", 10 "_id": "@angular-devkit/build-webpack@0.1202.9", 2 "_from": "@angular-devkit/build-webpack@0.1202.13", 3 "_id": "@angular-devkit/build-webpack@0.1202.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- UKVxFTRSyDpQDxM1yk1OJiynhbryrbsy+WgZ/gFcnZcrRGtrpAWOq+uMXfq05zET6CNqpOKBnxy9LSHAwXR5Ig==",5 "_integrity": "sha512-KafzGyHuU2gBKaSICfMTFP2niTYZ/46DKU94TQ0lCILdJZsj0NE5M/288LSCbYgu2c7srJKz+Rvb+JcYGxIZ1g==", 13 6 "_location": "/@angular-devkit/build-webpack", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/build-webpack@0.1202. 9",11 "raw": "@angular-devkit/build-webpack@0.1202.13", 19 12 "name": "@angular-devkit/build-webpack", 20 13 "escapedName": "@angular-devkit%2fbuild-webpack", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "0.1202. 9",15 "rawSpec": "0.1202.13", 23 16 "saveSpec": null, 24 "fetchSpec": "0.1202. 9"17 "fetchSpec": "0.1202.13" 25 18 }, 26 19 "_requiredBy": [ 27 20 "/@angular-devkit/build-angular" 28 21 ], 29 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1202.9.tgz", 30 "_spec": "0.1202.9", 31 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 22 "_resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1202.13.tgz", 23 "_shasum": "875f9f9677bb10056b52230965dc2f00bd3089dd", 24 "_spec": "@angular-devkit/build-webpack@0.1202.13", 25 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@angular-devkit\\build-angular", 32 26 "author": { 33 27 "name": "Angular Authors" … … 37 31 }, 38 32 "builders": "builders.json", 33 "bundleDependencies": false, 39 34 "dependencies": { 40 "@angular-devkit/architect": "0.1202. 9",35 "@angular-devkit/architect": "0.1202.13", 41 36 "rxjs": "6.6.7" 42 37 }, 38 "deprecated": false, 43 39 "description": "Webpack Builder for Architect", 44 40 "engines": { 45 41 "node": "^12.14.1 || >=14.0.0", 46 "npm": "^6.11.0 || ^7.5.6 ",42 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 47 43 "yarn": ">= 1.13.0" 48 44 }, … … 68 64 }, 69 65 "typings": "src/index.d.ts", 70 "version": "0.1202. 9"66 "version": "0.1202.13" 71 67 } -
trip-planner-front/node_modules/@angular-devkit/core/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/core@12.2.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/core@12.2.9", 10 "_id": "@angular-devkit/core@12.2.9", 2 "_from": "@angular-devkit/core@12.2.13", 3 "_id": "@angular-devkit/core@12.2.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- iPHQiga08bbryiVq3QYzwpuq9sNb8CB/MVy65MHJ0fuW1z6RYDeUh1EziitBBUT2d81KWKPO1wQ2DuUoxOg4mg==",5 "_integrity": "sha512-9csMF0p+lTvlWnutxxTZ/+pDRMIbXk/TV4MGLbcqUPPfeG3dCRwErns73xLuMTwp9qO/KCLkFqNaM6cGOoqsDA==", 13 6 "_location": "/@angular-devkit/core", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/core@12.2. 9",11 "raw": "@angular-devkit/core@12.2.13", 19 12 "name": "@angular-devkit/core", 20 13 "escapedName": "@angular-devkit%2fcore", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "12.2. 9",15 "rawSpec": "12.2.13", 23 16 "saveSpec": null, 24 "fetchSpec": "12.2. 9"17 "fetchSpec": "12.2.13" 25 18 }, 26 19 "_requiredBy": [ … … 31 24 "/@schematics/angular" 32 25 ], 33 "_resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-12.2.9.tgz", 34 "_spec": "12.2.9", 35 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 26 "_resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-12.2.13.tgz", 27 "_shasum": "db3929d1bfce71010b37fb7c4e6c33ef80a4f35f", 28 "_spec": "@angular-devkit/core@12.2.13", 29 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@angular-devkit\\build-angular", 36 30 "author": { 37 31 "name": "Angular Authors" … … 40 34 "url": "https://github.com/angular/angular-cli/issues" 41 35 }, 36 "bundleDependencies": false, 42 37 "dependencies": { 43 38 "ajv": "8.6.2", … … 48 43 "source-map": "0.7.3" 49 44 }, 45 "deprecated": false, 50 46 "description": "Angular DevKit - Core Utility Library", 51 47 "engines": { 52 48 "node": "^12.14.1 || >=14.0.0", 53 "npm": "^6.11.0 || ^7.5.6 ",49 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 54 50 "yarn": ">= 1.13.0" 55 51 }, … … 71 67 }, 72 68 "typings": "src/index.d.ts", 73 "version": "12.2. 9"69 "version": "12.2.13" 74 70 } -
trip-planner-front/node_modules/@angular-devkit/schematics/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@angular-devkit/schematics@12.2.9", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@angular-devkit/schematics@12.2.9", 10 "_id": "@angular-devkit/schematics@12.2.9", 2 "_from": "@angular-devkit/schematics@12.2.13", 3 "_id": "@angular-devkit/schematics@12.2.13", 11 4 "_inBundle": false, 12 "_integrity": "sha512- OcMDCdlIxiir8XntrNXdXEPi9/8BRx54oYZeRosr0sJZlz4pPzsHs36t5uX2DURYYMkNNMaBnf2luUIC+77ZsA==",5 "_integrity": "sha512-LQTv72R5Ma1uowMEeii2wIoDWI4bYQyZvunqPy9jRveBTjli2yVwwcOziGCVyttwlYs46bSdxThgeEvVIako2w==", 13 6 "_location": "/@angular-devkit/schematics", 14 7 "_phantomChildren": {}, … … 16 9 "type": "version", 17 10 "registry": true, 18 "raw": "@angular-devkit/schematics@12.2. 9",11 "raw": "@angular-devkit/schematics@12.2.13", 19 12 "name": "@angular-devkit/schematics", 20 13 "escapedName": "@angular-devkit%2fschematics", 21 14 "scope": "@angular-devkit", 22 "rawSpec": "12.2. 9",15 "rawSpec": "12.2.13", 23 16 "saveSpec": null, 24 "fetchSpec": "12.2. 9"17 "fetchSpec": "12.2.13" 25 18 }, 26 19 "_requiredBy": [ … … 28 21 "/@schematics/angular" 29 22 ], 30 "_resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-12.2.9.tgz", 31 "_spec": "12.2.9", 32 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 23 "_resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-12.2.13.tgz", 24 "_shasum": "6464d86fa3ccd0efb5ead46c793cef9ec45c7758", 25 "_spec": "@angular-devkit/schematics@12.2.13", 26 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@angular\\cli", 33 27 "author": { 34 28 "name": "Angular Authors" … … 37 31 "url": "https://github.com/angular/angular-cli/issues" 38 32 }, 33 "bundleDependencies": false, 39 34 "dependencies": { 40 "@angular-devkit/core": "12.2. 9",35 "@angular-devkit/core": "12.2.13", 41 36 "ora": "5.4.1", 42 37 "rxjs": "6.6.7" 43 38 }, 39 "deprecated": false, 44 40 "description": "Angular Schematics - Library", 45 41 "engines": { 46 42 "node": "^12.14.1 || >=14.0.0", 47 "npm": "^6.11.0 || ^7.5.6 ",43 "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", 48 44 "yarn": ">= 1.13.0" 49 45 }, … … 70 66 }, 71 67 "typings": "src/index.d.ts", 72 "version": "12.2. 9"68 "version": "12.2.13" 73 69 } -
trip-planner-front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.d.ts
r59329aa re29cc2e 34 34 constructor(start: number, end: number, originalContent: Buffer); 35 35 get length(): number; 36 toString(encoding?: string): string;36 toString(encoding?: BufferEncoding): string; 37 37 slice(start: number): Chunk; 38 38 append(buffer: Buffer, essential: boolean): void; … … 66 66 get length(): number; 67 67 get original(): Buffer; 68 toString(encoding?: string): string;68 toString(encoding?: BufferEncoding): string; 69 69 generate(): Buffer; 70 70 insertLeft(index: number, content: Buffer, assert?: boolean): void;
Note:
See TracChangeset
for help on using the changeset viewer.