hash
stringlengths
40
40
date
stringdate
2016-01-01 23:11:19
2025-03-21 19:56:31
author
stringclasses
133 values
commit_message
stringlengths
13
137
is_merge
bool
1 class
masked_commit_message
stringlengths
5
116
type
stringclasses
11 values
git_diff
stringlengths
113
3.11M
9e916515fb0d321ec7e0568b1b36e307a972f45d
2016-03-14 04:06:17
gdi2290
docs: init readme
false
init readme
docs
diff --git a/modules/polyfills/README.md b/modules/polyfills/README.md new file mode 100644 index 000000000000..11776d231a1c --- /dev/null +++ b/modules/polyfills/README.md @@ -0,0 +1,2 @@ +# Angular 2 Universal Polyfills +> reflect-metadata, zone.js, es6-shim, es6-promise, ie-shim \ No newline at end of file
2fc7c73d7e40dbb0a593df61eeba17c8a8f618a9
2022-01-29 00:31:37
Alan Agius
refactor(@angular/cli): remove deprecated `--prod` flag
false
remove deprecated `--prod` flag
refactor
diff --git a/packages/angular/cli/commands/definitions.json b/packages/angular/cli/commands/definitions.json index a18355349f46..9bac3acef232 100644 --- a/packages/angular/cli/commands/definitions.json +++ b/packages/angular/cli/commands/definitions.json @@ -14,14 +14,9 @@ } }, "configuration": { - "description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section of angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.\nSetting this explicitly overrides the \"--prod\" flag.", + "description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section of angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.", "type": "string", "aliases": ["c"] - }, - "prod": { - "description": "Shorthand for \"--configuration=production\".\nSet the build configuration to the production target.\nBy default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.", - "type": "boolean", - "x-deprecated": "Use `--configuration production` instead." } } }, diff --git a/packages/angular/cli/models/architect-command.ts b/packages/angular/cli/models/architect-command.ts index 713ce5e483b5..aaa8ddab17a5 100644 --- a/packages/angular/cli/models/architect-command.ts +++ b/packages/angular/cli/models/architect-command.ts @@ -422,21 +422,6 @@ export abstract class ArchitectCommand< } else { project = commandOptions.project; target = this.target; - if (commandOptions.prod) { - const defaultConfig = - project && - target && - this.workspace?.projects.get(project)?.targets.get(target)?.defaultConfiguration; - - this.logger.warn( - defaultConfig === 'production' - ? 'Option "--prod" is deprecated: No need to use this option as this builder defaults to configuration "production".' - : 'Option "--prod" is deprecated: Use "--configuration production" instead.', - ); - // The --prod flag will always be the first configuration, available to be overwritten - // by following configurations. - configuration = 'production'; - } if (commandOptions.configuration) { configuration = `${configuration ? `${configuration},` : ''}${ commandOptions.configuration diff --git a/tests/legacy-cli/e2e/assets/9.0-project/README.md b/tests/legacy-cli/e2e/assets/9.0-project/README.md index bbde334dfdc9..dc54dd650060 100644 --- a/tests/legacy-cli/e2e/assets/9.0-project/README.md +++ b/tests/legacy-cli/e2e/assets/9.0-project/README.md @@ -12,7 +12,7 @@ Run `ng generate component component-name` to generate a new component. You can ## Build -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. ## Running unit tests diff --git a/tests/legacy-cli/e2e/tests/build/lazy-load-syntax.ts b/tests/legacy-cli/e2e/tests/build/lazy-load-syntax.ts index ed39e98b4b6a..62f3cf294ba1 100644 --- a/tests/legacy-cli/e2e/tests/build/lazy-load-syntax.ts +++ b/tests/legacy-cli/e2e/tests/build/lazy-load-syntax.ts @@ -16,29 +16,37 @@ export default async function () { // Add app routing. // This is done automatically on a new app with --routing. - await writeFile(appRoutingModulePath, ` - import { NgModule } from '@angular/core'; - import { Routes, RouterModule } from '@angular/router'; + await writeFile( + appRoutingModulePath, + ` + import { NgModule } from '@angular/core'; + import { Routes, RouterModule } from '@angular/router'; - const routes: Routes = []; + const routes: Routes = []; - @NgModule({ - imports: [RouterModule.forRoot(routes)], - exports: [RouterModule] - }) - export class AppRoutingModule { } - `); - await prependToFile('src/app/app.module.ts', - `import { AppRoutingModule } from './app-routing.module';`); + @NgModule({ + imports: [RouterModule.forRoot(routes)], + exports: [RouterModule] + }) + export class AppRoutingModule { } + `, + ); + await prependToFile( + 'src/app/app.module.ts', + `import { AppRoutingModule } from './app-routing.module';`, + ); await replaceInFile('src/app/app.module.ts', `imports: [`, `imports: [ AppRoutingModule,`); await appendToFile('src/app/app.component.html', '<router-outlet></router-outlet>'); const originalAppRoutingModule = await readFile(appRoutingModulePath); // helper to replace loadChildren const replaceLoadChildren = async (route: string) => { - const content = originalAppRoutingModule.replace('const routes: Routes = [];', ` - const routes: Routes = [{ path: 'lazy', loadChildren: ${route} }]; - `); + const content = originalAppRoutingModule.replace( + 'const routes: Routes = [];', + ` + const routes: Routes = [{ path: 'lazy', loadChildren: ${route} }]; + `, + ); return writeFile(appRoutingModulePath, content); }; @@ -46,34 +54,41 @@ export default async function () { // Add lazy route. await ng('generate', 'module', 'lazy', '--routing'); await ng('generate', 'component', 'lazy/lazy-comp'); - await replaceInFile('src/app/lazy/lazy-routing.module.ts', 'const routes: Routes = [];', ` - import { LazyCompComponent } from './lazy-comp/lazy-comp.component'; - const routes: Routes = [{ path: '', component: LazyCompComponent }]; - `); + await replaceInFile( + 'src/app/lazy/lazy-routing.module.ts', + 'const routes: Routes = [];', + ` + import { LazyCompComponent } from './lazy-comp/lazy-comp.component'; + const routes: Routes = [{ path: '', component: LazyCompComponent }]; + `, + ); // Add lazy route e2e - await writeFile('e2e/src/app.e2e-spec.ts', ` - import { browser, logging, element, by } from 'protractor'; + await writeFile( + 'e2e/src/app.e2e-spec.ts', + ` + import { browser, logging, element, by } from 'protractor'; - describe('workspace-project App', () => { - it('should display lazy route', async () => { - await browser.get(browser.baseUrl + '/lazy'); - expect(await element(by.css('app-lazy-comp p')).getText()).toEqual('lazy-comp works!'); - }); + describe('workspace-project App', () => { + it('should display lazy route', async () => { + await browser.get(browser.baseUrl + '/lazy'); + expect(await element(by.css('app-lazy-comp p')).getText()).toEqual('lazy-comp works!'); + }); - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - })); + afterEach(async () => { + // Assert that there are no errors emitted from the browser + const logs = await browser.manage().logs().get(logging.Type.BROWSER); + expect(logs).not.toContain(jasmine.objectContaining({ + level: logging.Level.SEVERE, + })); + }); }); - }); - `); + `, + ); // Convert the default config to use JIT and prod to just do AOT. - // This way we can use `ng e2e` to test JIT and `ng e2e --prod` to test AOT. - await updateJsonFile('angular.json', json => { + // This way we can use `ng e2e` to test JIT and `ng e2e --configuration=production` to test AOT. + await updateJsonFile('angular.json', (json) => { const buildTarget = json['projects'][projectName]['architect']['build']; buildTarget['options']['aot'] = true; buildTarget['configurations']['development']['aot'] = false; diff --git a/tests/legacy-cli/e2e/tests/build/material.ts b/tests/legacy-cli/e2e/tests/build/material.ts index 5963d3411d89..23bbca4a612c 100644 --- a/tests/legacy-cli/e2e/tests/build/material.ts +++ b/tests/legacy-cli/e2e/tests/build/material.ts @@ -7,7 +7,7 @@ import { isPrereleaseCli, updateJsonFile } from '../../utils/project'; const snapshots = require('../../ng-snapshot/package.json'); export default async function () { - const tag = await isPrereleaseCli() ? '@next' : ''; + const tag = (await isPrereleaseCli()) ? '@next' : ''; await ng('add', `@angular/material${tag}`, '--skip-confirmation'); const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots']; @@ -72,5 +72,5 @@ export default async function () { `, ); - await ng('e2e', '--prod'); + await ng('e2e', '--configuration=production'); } diff --git a/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts b/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts index 12b4428cd142..4397e43cb3e6 100644 --- a/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts +++ b/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts @@ -8,17 +8,21 @@ import { wait } from '../../utils/utils'; const webpackGoodRegEx = / Compiled successfully./; -export default async function() { +export default async function () { if (process.platform.startsWith('win')) { return; } let error; try { - await execAndWaitForOutputToMatch('ng', ['serve', '--prod'], webpackGoodRegEx); + await execAndWaitForOutputToMatch( + 'ng', + ['serve', '--configuration=production'], + webpackGoodRegEx, + ); await wait(4000); - + // Should trigger a rebuild. await appendToFile('src/environments/environment.prod.ts', `console.log('PROD');`); await waitForAnyProcessOutputToMatch(webpackGoodRegEx, 45000); diff --git a/tests/legacy-cli/e2e/tests/misc/third-party-decorators.ts b/tests/legacy-cli/e2e/tests/misc/third-party-decorators.ts index 40a2b730c114..1fb2a3f3a914 100644 --- a/tests/legacy-cli/e2e/tests/misc/third-party-decorators.ts +++ b/tests/legacy-cli/e2e/tests/misc/third-party-decorators.ts @@ -3,159 +3,162 @@ import { installWorkspacePackages } from '../../utils/packages'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; -export default function () { - return updateJsonFile('package.json', packageJson => { +export default async function () { + await updateJsonFile('package.json', (packageJson) => { // Install ngrx packageJson['dependencies']['@ngrx/effects'] = '^9.1.0'; packageJson['dependencies']['@ngrx/schematics'] = '^9.1.0'; packageJson['dependencies']['@ngrx/store'] = '^9.1.0'; packageJson['dependencies']['@ngrx/store-devtools'] = '^9.1.0'; - }) - .then(() => installWorkspacePackages()) - // Create an app that uses ngrx decorators and has e2e tests. - .then(_ => writeMultipleFiles({ - './e2e/src/app.po.ts': ` - import { browser, by, element } from 'protractor'; - export class AppPage { - async navigateTo() { return browser.get('/'); } - getIncrementButton() { return element(by.buttonText('Increment')); } - getDecrementButton() { return element(by.buttonText('Decrement')); } - getResetButton() { return element(by.buttonText('Reset Counter')); } - async getCounter() { return element(by.xpath('/html/body/app-root/div/span')).getText(); } - } - `, - './e2e/src/app.e2e-spec.ts': ` - import { AppPage } from './app.po'; - - describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should operate counter', async () => { - await page.navigateTo(); - await page.getIncrementButton().click(); - await page.getIncrementButton().click(); - expect(await page.getCounter()).toEqual('2'); - await page.getDecrementButton().click(); - expect(await page.getCounter()).toEqual('1'); - await page.getResetButton().click(); - expect(await page.getCounter()).toEqual('0'); - }); + }); + + await installWorkspacePackages(); + + // Create an app that uses ngrx decorators and has e2e tests. + await writeMultipleFiles({ + './e2e/src/app.po.ts': ` + import { browser, by, element } from 'protractor'; + export class AppPage { + async navigateTo() { return browser.get('/'); } + getIncrementButton() { return element(by.buttonText('Increment')); } + getDecrementButton() { return element(by.buttonText('Decrement')); } + getResetButton() { return element(by.buttonText('Reset Counter')); } + async getCounter() { return element(by.xpath('/html/body/app-root/div/span')).getText(); } + } + `, + './e2e/src/app.e2e-spec.ts': ` + import { AppPage } from './app.po'; + + describe('workspace-project App', () => { + let page: AppPage; + + beforeEach(() => { + page = new AppPage(); }); - `, - './src/app/app.component.ts': ` - import { Component } from '@angular/core'; - import { Store, select } from '@ngrx/store'; - import { Observable } from 'rxjs'; - import { INCREMENT, DECREMENT, RESET } from './counter.reducer'; - - interface AppState { - count: number; - } - - @Component({ - selector: 'app-root', - template: \` - <button (click)="increment()">Increment</button> - <div>Current Count: <span>{{ count$ | async }}</span></div> - <button (click)="decrement()">Decrement</button> - - <button (click)="reset()">Reset Counter</button> - \`, - }) - export class AppComponent { - count$: Observable<number>; - - constructor(private store: Store<AppState>) { - this.count$ = store.pipe(select(state => state.count)); - } - increment() { - this.store.dispatch({ type: INCREMENT }); - } - - decrement() { - this.store.dispatch({ type: DECREMENT }); - } - - reset() { - this.store.dispatch({ type: RESET }); - } + it('should operate counter', async () => { + await page.navigateTo(); + await page.getIncrementButton().click(); + await page.getIncrementButton().click(); + expect(await page.getCounter()).toEqual('2'); + await page.getDecrementButton().click(); + expect(await page.getCounter()).toEqual('1'); + await page.getResetButton().click(); + expect(await page.getCounter()).toEqual('0'); + }); + }); + `, + './src/app/app.component.ts': ` + import { Component } from '@angular/core'; + import { Store, select } from '@ngrx/store'; + import { Observable } from 'rxjs'; + import { INCREMENT, DECREMENT, RESET } from './counter.reducer'; + + interface AppState { + count: number; + } + + @Component({ + selector: 'app-root', + template: \` + <button (click)="increment()">Increment</button> + <div>Current Count: <span>{{ count$ | async }}</span></div> + <button (click)="decrement()">Decrement</button> + + <button (click)="reset()">Reset Counter</button> + \`, + }) + export class AppComponent { + count$: Observable<number>; + + constructor(private store: Store<AppState>) { + this.count$ = store.pipe(select(state => state.count)); } - `, - './src/app/app.effects.ts': ` - import { Injectable } from '@angular/core'; - import { Actions, Effect } from '@ngrx/effects'; - import { filter, map, tap } from 'rxjs/operators'; - - @Injectable() - export class AppEffects { - - @Effect() - mapper$ = this.actions$.pipe(map(() => ({ type: 'ANOTHER'})), filter(() => false)); - @Effect({ dispatch: false }) - logger$ = this.actions$.pipe(tap(console.log)); - - constructor(private actions$: Actions) {} + increment() { + this.store.dispatch({ type: INCREMENT }); } - `, - './src/app/app.module.ts': ` - import { BrowserModule } from '@angular/platform-browser'; - import { NgModule } from '@angular/core'; - - import { AppComponent } from './app.component'; - import { StoreModule } from '@ngrx/store'; - import { StoreDevtoolsModule } from '@ngrx/store-devtools'; - import { environment } from '../environments/environment'; - import { EffectsModule } from '@ngrx/effects'; - import { AppEffects } from './app.effects'; - import { counterReducer } from './counter.reducer'; - - @NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule, - StoreModule.forRoot({ count: counterReducer }), - !environment.production ? StoreDevtoolsModule.instrument() : [], - EffectsModule.forRoot([AppEffects]) - ], - providers: [], - bootstrap: [AppComponent] - }) - export class AppModule { } - `, - './src/app/counter.reducer.ts': ` - import { Action } from '@ngrx/store'; - export const INCREMENT = 'INCREMENT'; - export const DECREMENT = 'DECREMENT'; - export const RESET = 'RESET'; + decrement() { + this.store.dispatch({ type: DECREMENT }); + } - const initialState = 0; + reset() { + this.store.dispatch({ type: RESET }); + } + } + `, + './src/app/app.effects.ts': ` + import { Injectable } from '@angular/core'; + import { Actions, Effect } from '@ngrx/effects'; + import { filter, map, tap } from 'rxjs/operators'; - export function counterReducer(state: number = initialState, action: Action) { - switch (action.type) { - case INCREMENT: - return state + 1; + @Injectable() + export class AppEffects { - case DECREMENT: - return state - 1; + @Effect() + mapper$ = this.actions$.pipe(map(() => ({ type: 'ANOTHER'})), filter(() => false)); - case RESET: - return 0; + @Effect({ dispatch: false }) + logger$ = this.actions$.pipe(tap(console.log)); - default: - return state; + constructor(private actions$: Actions) {} } - } `, - })) - // Run the e2e tests against a prod build. - .then(() => ng('e2e', '--prod')); + './src/app/app.module.ts': ` + import { BrowserModule } from '@angular/platform-browser'; + import { NgModule } from '@angular/core'; + + import { AppComponent } from './app.component'; + import { StoreModule } from '@ngrx/store'; + import { StoreDevtoolsModule } from '@ngrx/store-devtools'; + import { environment } from '../environments/environment'; + import { EffectsModule } from '@ngrx/effects'; + import { AppEffects } from './app.effects'; + import { counterReducer } from './counter.reducer'; + + @NgModule({ + declarations: [ + AppComponent + ], + imports: [ + BrowserModule, + StoreModule.forRoot({ count: counterReducer }), + !environment.production ? StoreDevtoolsModule.instrument() : [], + EffectsModule.forRoot([AppEffects]) + ], + providers: [], + bootstrap: [AppComponent] + }) + export class AppModule { } + `, + './src/app/counter.reducer.ts': ` + import { Action } from '@ngrx/store'; + + export const INCREMENT = 'INCREMENT'; + export const DECREMENT = 'DECREMENT'; + export const RESET = 'RESET'; + + const initialState = 0; + + export function counterReducer(state: number = initialState, action: Action) { + switch (action.type) { + case INCREMENT: + return state + 1; + + case DECREMENT: + return state - 1; + + case RESET: + return 0; + + default: + return state; + } + } + `, + }); + + // Run the e2e tests against a production build. + await ng('e2e', '--configuration=production'); } diff --git a/tests/legacy-cli/e2e/tests/test/test-environment.ts b/tests/legacy-cli/e2e/tests/test/test-environment.ts index 09152caee409..0342a6a5b982 100644 --- a/tests/legacy-cli/e2e/tests/test/test-environment.ts +++ b/tests/legacy-cli/e2e/tests/test/test-environment.ts @@ -4,7 +4,10 @@ import { updateJsonFile } from '../../utils/project'; export default function () { // Tests run in 'dev' environment by default. - return writeFile('src/app/environment.spec.ts', ` + return ( + writeFile( + 'src/app/environment.spec.ts', + ` import { environment } from '../environments/environment'; describe('Test environment', () => { @@ -12,24 +15,30 @@ export default function () { expect(environment.production).toBe(false); }); }); - `) - .then(() => ng('test', '--watch=false')) - .then(() => updateJsonFile('angular.json', configJson => { - const appArchitect = configJson.projects['test-project'].architect; - appArchitect.test.configurations = { - production: { - fileReplacements: [ - { - src: 'src/environments/environment.ts', - replaceWith: 'src/environments/environment.prod.ts', - } - ], - } - }; - })) + `, + ) + .then(() => ng('test', '--watch=false')) + .then(() => + updateJsonFile('angular.json', (configJson) => { + const appArchitect = configJson.projects['test-project'].architect; + appArchitect.test.configurations = { + production: { + fileReplacements: [ + { + src: 'src/environments/environment.ts', + replaceWith: 'src/environments/environment.prod.ts', + }, + ], + }, + }; + }), + ) - // Tests can run in different environment. - .then(() => writeFile('src/app/environment.spec.ts', ` + // Tests can run in different environment. + .then(() => + writeFile( + 'src/app/environment.spec.ts', + ` import { environment } from '../environments/environment'; describe('Test environment', () => { @@ -37,6 +46,9 @@ export default function () { expect(environment.production).toBe(true); }); }); - `)) - .then(() => ng('test', '--prod', '--watch=false')); + `, + ), + ) + .then(() => ng('test', '--configuration=production', '--watch=false')) + ); } diff --git a/tests/legacy-cli/e2e/tests/update/update-9.ts b/tests/legacy-cli/e2e/tests/update/update-9.ts index 38d0635b0d92..3046815e5d9d 100644 --- a/tests/legacy-cli/e2e/tests/update/update-9.ts +++ b/tests/legacy-cli/e2e/tests/update/update-9.ts @@ -49,9 +49,9 @@ export default async function () { await ng('generate', 'component', 'my-comp'); await ng('test', '--watch=false'); await ng('e2e'); - await ng('e2e', '--prod'); + await ng('e2e', '--configuration=production'); // Verify project now creates bundles - await noSilentNg('build', '--prod'); + await noSilentNg('build', '--configuration=production'); await expectFileMatchToExist('dist/nine-project/', /main\.[0-9a-f]{16}\.js/); }
37b4704579c4c4c453649b0041b6d97f101367cb
2021-10-14 22:25:20
Alan Agius
build: add resolution for `@types/webpack-dev-server/webpack`
false
add resolution for `@types/webpack-dev-server/webpack`
build
diff --git a/package.json b/package.json index d4b53a0dafe8..e7701fbb7b44 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ }, "resolutions": { "**/@types/copy-webpack-plugin/webpack": "5.58.2", + "**/@types/webpack-dev-server/webpack": "5.58.2", "ajv-formats/ajv": "8.6.3" }, "devDependencies": {
128187e4c1b20aa5e6231099f1cb80e094a2d8d9
2017-08-17 03:54:43
Mike Brocchi
feat(@angular/cli): Update generate & new to use schematics
false
Update generate & new to use schematics
feat
diff --git a/docs/documentation/generate.md b/docs/documentation/generate.md index f1c928ab9583..6dd875a1cee4 100644 --- a/docs/documentation/generate.md +++ b/docs/documentation/generate.md @@ -49,3 +49,13 @@ Adds more details to output logging. </p> </details> + +<details> + <summary>collection</summary> + <p> + <code>--collection</code> (aliases: <code>-c</code>) <em>default value: @schematics/angular</em> + </p> + <p> + Schematics collection to use. + </p> +</details> diff --git a/package-lock.json b/package-lock.json index 55b2cd6829db..1d82e1dbb259 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@angular/cli", - "version": "1.3.0-rc.5", + "version": "1.4.0-beta.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -14,6 +14,22 @@ "typescript": "2.4.2" } }, + "@angular-devkit/core": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.0.10.tgz", + "integrity": "sha512-B3oJ1/ALpTC/Lyp9xP0QXt3hwMjUvUFYAIdLAeGF54FVdIkj58IiG+m6s2vTn0FKIcR1jZbHvGTQhd+Oeowcag==" + }, + "@angular-devkit/schematics": { + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-0.0.17.tgz", + "integrity": "sha512-maL79fRoorHfFhIp+1PTiHwyVsAfuhvH1WMuCYI9Y8CUaMpDoThssyJUvTnhryi0shCpARgKRVjXayBeOH4ePQ==", + "requires": { + "@angular-devkit/core": "0.0.10", + "@ngtools/json-schema": "1.1.0", + "minimist": "1.2.0", + "rxjs": "5.4.2" + } + }, "@angular/compiler": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-4.3.3.tgz", @@ -52,6 +68,16 @@ "tsickle": "0.21.6" } }, + "@ngtools/json-schema": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@ngtools/json-schema/-/json-schema-1.1.0.tgz", + "integrity": "sha1-w6DFRNYjkqzCgTpCyKDcb1j4aSI=" + }, + "@schematics/angular": { + "version": "0.0.27", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-0.0.27.tgz", + "integrity": "sha512-vrGIEWBI/1b+m1I8aDEaTZ2fGPKKqdnvtrDlKx1x/EofLy3BngiTBR/9Hu9lWY55UE6ZJlF8af/agzeIbF+uSA==" + }, "@types/chalk": { "version": "0.4.31", "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-0.4.31.tgz", diff --git a/package.json b/package.json index a95b549a6aab..70fb5551b256 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,8 @@ "homepage": "https://github.com/angular/angular-cli", "dependencies": { "@angular-devkit/build-optimizer": "0.0.13", + "@angular-devkit/schematics": "0.0.17", + "@schematics/angular": "0.0.27", "autoprefixer": "^6.5.3", "chalk": "^2.0.1", "circular-dependency-plugin": "^3.0.0", diff --git a/packages/@angular/cli/commands/generate.ts b/packages/@angular/cli/commands/generate.ts index 1c8e95ab9966..9d44cedbbd70 100644 --- a/packages/@angular/cli/commands/generate.ts +++ b/packages/@angular/cli/commands/generate.ts @@ -1,28 +1,28 @@ -import * as chalk from 'chalk'; -import * as fs from 'fs'; -import * as os from 'os'; -import * as path from 'path'; +import { cyan, yellow } from 'chalk'; +const stringUtils = require('ember-cli-string-utils'); import { oneLine } from 'common-tags'; import { CliConfig } from '../models/config'; +import 'rxjs/add/observable/of'; +import 'rxjs/add/operator/ignoreElements'; +import { + getCollection, + getEngineHost +} from '../utilities/schematics'; +import { DynamicPathOptions, dynamicPathParser } from '../utilities/dynamic-path-parser'; +import { getAppFromConfig } from '../utilities/app-utils'; +import * as path from 'path'; +import { SchematicAvailableOptions } from '../tasks/schematic-get-options'; + const Command = require('../ember-cli/lib/models/command'); -const Blueprint = require('../ember-cli/lib/models/blueprint'); -const parseOptions = require('../ember-cli/lib/utilities/parse-options'); const SilentError = require('silent-error'); -function loadBlueprints(): Array<any> { - const blueprintList = fs.readdirSync(path.join(__dirname, '..', 'blueprints')); - const blueprints = blueprintList - .filter(bp => bp.indexOf('-test') === -1) - .filter(bp => bp !== 'ng') - .map(bp => Blueprint.load(path.join(__dirname, '..', 'blueprints', bp))); +const separatorRegEx = /[\/\\]/g; - return blueprints; -} export default Command.extend({ name: 'generate', - description: 'Generates and/or modifies files based on a blueprint.', + description: 'Generates and/or modifies files based on a schematic.', aliases: ['g'], availableOptions: [ @@ -34,117 +34,145 @@ export default Command.extend({ description: 'Run through without making any changes.' }, { - name: 'lint-fix', + name: 'force', type: Boolean, - aliases: ['lf'], - description: 'Use lint to fix files after generation.' + default: false, + aliases: ['f'], + description: 'Forces overwriting of files.' }, { - name: 'verbose', + name: 'app', + type: String, + aliases: ['a'], + description: 'Specifies app name to use.' + }, + { + name: 'collection', + type: String, + aliases: ['c'], + description: 'Schematics collection to use.' + }, + { + name: 'lint-fix', type: Boolean, - default: false, - aliases: ['v'], - description: 'Adds more details to output logging.' + aliases: ['lf'], + description: 'Use lint to fix files after generation.' } ], anonymousOptions: [ - '<blueprint>' + '<schematic>' ], - beforeRun: function (rawArgs: string[]) { - if (!rawArgs.length) { - return; + getCollectionName(rawArgs: string[]) { + let collectionName = CliConfig.getValue('defaults.schematics.collection'); + if (rawArgs) { + const parsedArgs = this.parseArgs(rawArgs, false); + if (parsedArgs.options.collection) { + collectionName = parsedArgs.options.collection; + } } + return collectionName; + }, + + beforeRun: function(rawArgs: string[]) { const isHelp = ['--help', '-h'].includes(rawArgs[0]); if (isHelp) { return; } - this.blueprints = loadBlueprints(); - - const name = rawArgs[0]; - const blueprint = this.blueprints.find((bp: any) => bp.name === name - || (bp.aliases && bp.aliases.includes(name))); - - if (!blueprint) { - SilentError.debugOrThrow('@angular/cli/commands/generate', - `Invalid blueprint: ${name}`); - } - - if (!rawArgs[1]) { - SilentError.debugOrThrow('@angular/cli/commands/generate', - `The \`ng generate ${name}\` command requires a name to be specified.`); + const schematicName = rawArgs[0]; + if (!schematicName) { + return Promise.reject(new SilentError(oneLine` + The "ng generate" command requires a + schematic name to be specified. + For more details, use "ng help". + `)); } if (/^\d/.test(rawArgs[1])) { SilentError.debugOrThrow('@angular/cli/commands/generate', - `The \`ng generate ${name} ${rawArgs[1]}\` file name cannot begin with a digit.`); + `The \`ng generate ${schematicName} ${rawArgs[1]}\` file name cannot begin with a digit.`); } - rawArgs[0] = blueprint.name; - this.registerOptions(blueprint); - }, + const SchematicGetOptionsTask = require('../tasks/schematic-get-options').default; - printDetailedHelp: function () { - if (!this.blueprints) { - this.blueprints = loadBlueprints(); - } - this.ui.writeLine(chalk.cyan(' Available blueprints')); - this.ui.writeLine(this.blueprints.map((bp: any) => bp.printBasicHelp(false)).join(os.EOL)); + const getOptionsTask = new SchematicGetOptionsTask({ + ui: this.ui, + project: this.project + }); + const collectionName = this.getCollectionName(rawArgs); + + return getOptionsTask.run({ + schematicName, + collectionName + }) + .then((availableOptions: SchematicAvailableOptions) => { + let anonymousOptions: string[] = []; + if (collectionName === '@schematics/angular' && schematicName === 'interface') { + anonymousOptions = ['<type>']; + } + + this.registerOptions({ + anonymousOptions: anonymousOptions, + availableOptions: availableOptions + }); + }); }, run: function (commandOptions: any, rawArgs: string[]) { - const name = rawArgs[0]; - if (!name) { - return Promise.reject(new SilentError(oneLine` - The "ng generate" command requires a - blueprint name to be specified. - For more details, use "ng help". - `)); + if (rawArgs[0] === 'module' && !rawArgs[1]) { + throw 'The `ng generate module` command requires a name to be specified.'; } - const blueprint = this.blueprints.find((bp: any) => bp.name === name - || (bp.aliases && bp.aliases.includes(name))); - - const projectName = CliConfig.getValue('project.name'); - const blueprintOptions = { - target: this.project.root, - entity: { - name: rawArgs[1], - options: parseOptions(rawArgs.slice(2)) - }, - projectName, - ui: this.ui, + const entityName = rawArgs[1]; + commandOptions.name = stringUtils.dasherize(entityName.split(separatorRegEx).pop()); + + const appConfig = getAppFromConfig(commandOptions.app); + const dynamicPathOptions: DynamicPathOptions = { project: this.project, - settings: this.settings, - testing: this.testing, - args: rawArgs, - ...commandOptions + entityName: entityName, + appConfig: appConfig, + dryRun: commandOptions.dryRun }; + const parsedPath = dynamicPathParser(dynamicPathOptions); + commandOptions.sourceDir = appConfig.root; + commandOptions.path = parsedPath.dir + .replace(appConfig.root + path.sep, '') + .replace(separatorRegEx, '/'); - return blueprint.install(blueprintOptions) - .then(() => { - const lintFix = commandOptions.lintFix !== undefined ? - commandOptions.lintFix : CliConfig.getValue('defaults.lintFix'); - - if (lintFix && blueprint.modifiedFiles) { - const LintTask = require('../tasks/lint').default; - const lintTask = new LintTask({ - ui: this.ui, - project: this.project - }); - - return lintTask.run({ - fix: true, - force: true, - silent: true, - configs: [{ - files: blueprint.modifiedFiles.filter((file: string) => /.ts$/.test(file)) - }] - }); - } + const cwd = this.project.root; + const schematicName = rawArgs[0]; + + const SchematicRunTask = require('../tasks/schematic-run').default; + const schematicRunTask = new SchematicRunTask({ + ui: this.ui, + project: this.project + }); + const collectionName = this.getCollectionName(rawArgs); + + if (collectionName === '@schematics/angular' && schematicName === 'interface' && rawArgs[2]) { + commandOptions.type = rawArgs[2]; + } + + return schematicRunTask.run({ + taskOptions: commandOptions, + workingDir: cwd, + collectionName, + schematicName }); + }, + + printDetailedHelp: function () { + const engineHost = getEngineHost(); + const collectionName = this.getCollectionName(); + const collection = getCollection(collectionName); + const schematicNames: string[] = engineHost.listSchematics(collection); + this.ui.writeLine(cyan('Available schematics:')); + schematicNames.forEach(schematicName => { + this.ui.writeLine(yellow(` ${schematicName}`)); + }); + this.ui.writeLine(''); } }); diff --git a/packages/@angular/cli/commands/new.ts b/packages/@angular/cli/commands/new.ts index e52c0dea1095..5a82368ea306 100644 --- a/packages/@angular/cli/commands/new.ts +++ b/packages/@angular/cli/commands/new.ts @@ -1,24 +1,17 @@ import * as fs from 'fs'; import * as path from 'path'; import * as chalk from 'chalk'; -import denodeify = require('denodeify'); import InitCommand from './init'; import { CliConfig } from '../models/config'; import { validateProjectName } from '../utilities/validate-project-name'; import { oneLine } from 'common-tags'; +import { SchematicAvailableOptions } from '../tasks/schematic-get-options'; const Command = require('../ember-cli/lib/models/command'); const Project = require('../ember-cli/lib/models/project'); const SilentError = require('silent-error'); -// There's some problem with the generic typings for fs.makedir. -// Couldn't find matching types for the callbacks so leaving it as any for now. -const mkdir = denodeify<string, void>(fs.mkdir as any); - -const configFile = '.angular-cli.json'; -const changeLater = (path: string) => `You can later change the value in "${configFile}" (${path})`; - const NewCommand = Command.extend({ name: 'new', aliases: ['n'], @@ -65,13 +58,6 @@ const NewCommand = Command.extend({ aliases: ['sg'], description: 'Skip initializing a git repository.' }, - { - name: 'skip-tests', - type: Boolean, - default: false, - aliases: ['st'], - description: 'Skip creating spec files.' - }, { name: 'skip-commit', type: Boolean, @@ -80,69 +66,59 @@ const NewCommand = Command.extend({ description: 'Skip committing the first commit to git.' }, { - name: 'directory', - type: String, - aliases: ['dir'], - description: 'The directory name to create the app in.' - }, - { - name: 'source-dir', - type: String, - default: 'src', - aliases: ['sd'], - description: `The name of the source directory. ${changeLater('apps[0].root')}.` - }, - { - name: 'style', - type: String, - default: 'css', - description: oneLine`The style file default extension. - Possible values: css, scss, less, sass, styl(stylus). - ${changeLater('defaults.styleExt')}. - ` - }, - { - name: 'prefix', + name: 'collection', type: String, - default: 'app', - aliases: ['p'], - description: oneLine` - The prefix to use for all component selectors. - ${changeLater('apps[0].prefix')}. - ` - }, - { - name: 'routing', - type: Boolean, - default: false, - description: 'Generate a routing module.' - }, - { - name: 'inline-style', - type: Boolean, - default: false, - aliases: ['is'], - description: 'Should have an inline style.' - }, - { - name: 'inline-template', - type: Boolean, - default: false, - aliases: ['it'], - description: 'Should have an inline template.' - }, - { - name: 'minimal', - type: Boolean, - default: false, - description: 'Should create a minimal app.' - } + aliases: ['c'], + description: 'Schematics collection to use.' + } ], isProject: function (projectPath: string) { return CliConfig.fromProject(projectPath) !== null; }, + getCollectionName(rawArgs: string[]) { + let collectionName = CliConfig.fromGlobal().get('defaults.schematics.collection'); + if (rawArgs) { + const parsedArgs = this.parseArgs(rawArgs, false); + if (parsedArgs.options.collection) { + collectionName = parsedArgs.options.collection; + } + } + return collectionName; + }, + + beforeRun: function (rawArgs: string[]) { + const isHelp = ['--help', '-h'].includes(rawArgs[0]); + if (isHelp) { + return; + } + + const schematicName = CliConfig.getValue('defaults.schematics.newApp'); + + if (/^\d/.test(rawArgs[1])) { + SilentError.debugOrThrow('@angular/cli/commands/generate', + `The \`ng new ${rawArgs[0]}\` file name cannot begin with a digit.`); + } + + const SchematicGetOptionsTask = require('../tasks/schematic-get-options').default; + + const getOptionsTask = new SchematicGetOptionsTask({ + ui: this.ui, + project: this.project + }); + + return getOptionsTask.run({ + schematicName, + collectionName: this.getCollectionName(rawArgs) + }) + .then((availableOptions: SchematicAvailableOptions) => { + this.registerOptions({ + availableOptions: availableOptions + }); + }); + }, + run: function (commandOptions: any, rawArgs: string[]) { const packageName = rawArgs.shift(); @@ -159,8 +135,16 @@ const NewCommand = Command.extend({ commandOptions.skipGit = true; } - const directoryName = path.join(process.cwd(), - commandOptions.directory ? commandOptions.directory : packageName); + commandOptions.directory = commandOptions.directory || packageName; + const directoryName = path.join(process.cwd(), commandOptions.directory); + + if (fs.existsSync(directoryName) && this.isProject(directoryName)) { + throw new SilentError(oneLine` + Directory ${directoryName} exists and is already an Angular CLI project. + `); + } + + commandOptions.collectionName = this.getCollectionName(rawArgs); const initCommand = new InitCommand({ ui: this.ui, @@ -168,34 +152,9 @@ const NewCommand = Command.extend({ project: Project.nullProject(this.ui, this.cli) }); - let createDirectory; - if (commandOptions.dryRun) { - createDirectory = Promise.resolve() - .then(() => { - if (fs.existsSync(directoryName) && this.isProject(directoryName)) { - throw new SilentError(oneLine` - Directory ${directoryName} exists and is already an Angular CLI project. - `); - } - }); - } else { - createDirectory = mkdir(directoryName) - .catch((err) => { - if (err.code === 'EEXIST') { - if (this.isProject(directoryName)) { - throw new SilentError(oneLine` - Directory ${directoryName} exists and is already an Angular CLI project. - `); - } - } else { - throw err; - } - }) - .then(() => process.chdir(directoryName)); - } - - return createDirectory + return Promise.resolve() .then(initCommand.run.bind(initCommand, commandOptions, rawArgs)); + } }); diff --git a/packages/@angular/cli/ember-cli/lib/models/command.js b/packages/@angular/cli/ember-cli/lib/models/command.js index eea7afb92e4a..5a62554e5b06 100644 --- a/packages/@angular/cli/ember-cli/lib/models/command.js +++ b/packages/@angular/cli/ember-cli/lib/models/command.js @@ -496,7 +496,7 @@ let Command = CoreObject.extend({ @param {Object} commandArgs @return {Object|null} */ - parseArgs(commandArgs) { + parseArgs(commandArgs, showErrors = true) { let knownOpts = {}; // Parse options let commandOptions = {}; let parsedOptions; @@ -507,7 +507,7 @@ let Command = CoreObject.extend({ let validateParsed = function(key) { // ignore 'argv', 'h', and 'help' - if (!commandOptions.hasOwnProperty(key) && key !== 'argv' && key !== 'h' && key !== 'help') { + if (!commandOptions.hasOwnProperty(key) && key !== 'argv' && key !== 'h' && key !== 'help' && showErrors) { this.ui.writeLine(chalk.yellow(`The option '--${key}' is not registered with the ${this.name} command. ` + `Run \`ng ${this.name} --help\` for a list of supported options.`)); } diff --git a/packages/@angular/cli/lib/config/schema.json b/packages/@angular/cli/lib/config/schema.json index 7a8b2c08e4c5..9a890308dbab 100644 --- a/packages/@angular/cli/lib/config/schema.json +++ b/packages/@angular/cli/lib/config/schema.json @@ -536,6 +536,23 @@ "type": "string" } } + }, + "schematics": { + "description": "Properties about schematics.", + "type": "object", + "properties": { + "collection": { + "description": "The schematics collection to use.", + "type": "string", + "default": "@schematics/angular" + }, + "newApp": { + "description": "The new app schematic.", + "type": "string", + "default": "application" + } + }, + "additionalProperties": false } }, "additionalProperties": false diff --git a/packages/@angular/cli/package.json b/packages/@angular/cli/package.json index 5db8da720528..90a4e859e32e 100644 --- a/packages/@angular/cli/package.json +++ b/packages/@angular/cli/package.json @@ -28,8 +28,10 @@ "homepage": "https://github.com/angular/angular-cli", "dependencies": { "@angular-devkit/build-optimizer": "0.0.13", + "@angular-devkit/schematics": "0.0.17", "@ngtools/json-schema": "1.1.0", "@ngtools/webpack": "1.7.0-beta.0", + "@schematics/angular": "0.0.27", "autoprefixer": "^6.5.3", "chalk": "^2.0.1", "circular-dependency-plugin": "^3.0.0", diff --git a/packages/@angular/cli/tasks/init.ts b/packages/@angular/cli/tasks/init.ts index e868d1040959..5eccb41c2e12 100644 --- a/packages/@angular/cli/tasks/init.ts +++ b/packages/@angular/cli/tasks/init.ts @@ -7,22 +7,16 @@ import {CliConfig} from '../models/config'; const Task = require('../ember-cli/lib/models/task'); const SilentError = require('silent-error'); -const normalizeBlueprint = require('../ember-cli/lib/utilities/normalize-blueprint-option'); const GitInit = require('../tasks/git-init'); -const InstallBlueprint = require('../ember-cli/lib/tasks/install-blueprint'); export default Task.extend({ + run: function (commandOptions: any, rawArgs: string[]) { if (commandOptions.dryRun) { commandOptions.skipInstall = true; } - const installBlueprint = new InstallBlueprint({ - ui: this.ui, - project: this.project - }); - // needs an explicit check in case it's just 'undefined' // due to passing of options from 'new' and 'addon' let gitInit: any; @@ -64,46 +58,54 @@ export default Task.extend({ return Promise.reject(new SilentError(message)); } - const blueprintOpts = { - dryRun: commandOptions.dryRun, - blueprint: 'ng', - rawName: packageName, - targetFiles: rawArgs || '', - rawArgs: rawArgs.toString(), - sourceDir: commandOptions.sourceDir, - style: commandOptions.style, - prefix: commandOptions.prefix.trim() || 'app', - routing: commandOptions.routing, - inlineStyle: commandOptions.inlineStyle, - inlineTemplate: commandOptions.inlineTemplate, - minimal: commandOptions.minimal, - ignoredUpdateFiles: ['favicon.ico'], - skipGit: commandOptions.skipGit, - skipTests: commandOptions.skipTests - }; - validateProjectName(packageName); - blueprintOpts.blueprint = normalizeBlueprint(blueprintOpts.blueprint); + const SchematicRunTask = require('../tasks/schematic-run').default; + const schematicRunTask = new SchematicRunTask({ + ui: this.ui, + project: this.project + }); + + const cwd = this.project.root; + const schematicName = CliConfig.fromGlobal().get('defaults.schematics.newApp'); + + const runOptions = { + taskOptions: commandOptions, + workingDir: cwd, + collectionName: commandOptions.collectionName, + schematicName + }; - return installBlueprint.run(blueprintOpts) + return schematicRunTask.run(runOptions) + .then(function () { + if (!commandOptions.dryRun) { + process.chdir(commandOptions.directory); + } + }) .then(function () { if (!commandOptions.skipInstall) { return checkYarnOrCNPM().then(() => npmInstall.run()); } }) .then(function () { - if (commandOptions.skipGit === false) { + if (!commandOptions.dryRun && commandOptions.skipGit === false) { return gitInit.run(commandOptions, rawArgs); } }) .then(function () { - if (commandOptions.linkCli) { + if (!commandOptions.dryRun && commandOptions.skipInstall === false) { + return npmInstall.run(); + } + }) + .then(function () { + if (!commandOptions.dryRun && commandOptions.linkCli) { return linkCli.run(); } }) .then(() => { - this.ui.writeLine(chalk.green(`Project '${packageName}' successfully created.`)); + if (!commandOptions.dryRun) { + this.ui.writeLine(chalk.green(`Project '${packageName}' successfully created.`)); + } }); } }); diff --git a/packages/@angular/cli/tasks/schematic-get-options.ts b/packages/@angular/cli/tasks/schematic-get-options.ts new file mode 100644 index 000000000000..47ecf721d132 --- /dev/null +++ b/packages/@angular/cli/tasks/schematic-get-options.ts @@ -0,0 +1,59 @@ +const Task = require('../ember-cli/lib/models/task'); +const stringUtils = require('ember-cli-string-utils'); +import { CliConfig } from '../models/config'; +import { getCollection, getSchematic } from '../utilities/schematics'; + +export interface SchematicGetOptions { + collectionName: string; + schematicName: string; +} + +export interface SchematicAvailableOptions { + name: string; + description: string; + aliases: string[]; + type: any; +} + +export default Task.extend({ + run: function (options: SchematicGetOptions): Promise<SchematicAvailableOptions[]> { + const collectionName = options.collectionName || + CliConfig.getValue('defaults.schematics.collection'); + + const collection = getCollection(collectionName); + + const schematic = getSchematic(collection, options.schematicName); + + const properties = schematic.description.schemaJson.properties; + const keys = Object.keys(properties); + const availableOptions = keys + .map(key => ({...properties[key], ...{name: stringUtils.dasherize(key)}})) + .map(opt => { + let type; + switch (opt.type) { + case 'string': + type = String; + break; + case 'boolean': + type = Boolean; + break; + } + let aliases: string[] = []; + if (opt.alias) { + aliases = [...aliases, opt.alias]; + } + if (opt.aliases) { + aliases = [...aliases, ...opt.aliases]; + } + + return { + ...opt, + aliases, + type, + default: undefined // do not carry over schematics defaults + }; + }); + + return Promise.resolve(availableOptions); + } +}); diff --git a/packages/@angular/cli/tasks/schematic-run.ts b/packages/@angular/cli/tasks/schematic-run.ts new file mode 100644 index 000000000000..5c40c4de0154 --- /dev/null +++ b/packages/@angular/cli/tasks/schematic-run.ts @@ -0,0 +1,230 @@ +import { + DryRunEvent, + DryRunSink, + FileSystemSink, + FileSystemTree, + Schematic, + Tree +} from '@angular-devkit/schematics'; +import { FileSystemHost } from '@angular-devkit/schematics/tools'; +import { Observable } from 'rxjs/Observable'; +import * as path from 'path'; +import { green, red, yellow } from 'chalk'; +import { CliConfig } from '../models/config'; +import 'rxjs/add/operator/concatMap'; +import 'rxjs/add/operator/map'; +import { getCollection, getSchematic } from '../utilities/schematics'; +import { getAppFromConfig } from '../utilities/app-utils'; + + +const Task = require('../ember-cli/lib/models/task'); + +export interface SchematicRunOptions { + taskOptions: SchematicOptions; + workingDir: string; + collectionName: string; + schematicName: string; +} + +export interface SchematicOptions { + dryRun: boolean; + force: boolean; + [key: string]: any; +} + +export interface SchematicOutput { + modifiedFiles: string[]; +} + +interface OutputLogging { + color: (msg: string) => string; + keyword: string; + message: string; +} + +export default Task.extend({ + run: function (options: SchematicRunOptions): Promise<SchematicOutput> { + const { taskOptions, workingDir, collectionName, schematicName } = options; + + const ui = this.ui; + + const collection = getCollection(collectionName); + const schematic = getSchematic(collection, schematicName); + + let modifiedFiles: string[] = []; + + let appConfig; + try { + appConfig = getAppFromConfig(taskOptions.app); + } catch (err) {} + + const projectRoot = !!this.project ? this.project.root : workingDir; + + const preppedOptions = prepOptions(schematic, taskOptions); + const opts = { ...taskOptions, ...preppedOptions }; + + const host = Observable.of(new FileSystemTree(new FileSystemHost(workingDir))); + + const dryRunSink = new DryRunSink(workingDir, opts.force); + const fsSink = new FileSystemSink(workingDir, opts.force); + + let error = false; + const loggingQueue: OutputLogging[] = []; + + dryRunSink.reporter.subscribe((event: DryRunEvent) => { + const eventPath = event.path.startsWith('/') ? event.path.substr(1) : event.path; + switch (event.kind) { + case 'error': + const desc = event.description == 'alreadyExist' ? 'already exists' : 'does not exist.'; + ui.writeLine(`error! ${eventPath} ${desc}.`); + error = true; + break; + case 'update': + loggingQueue.push({ + color: yellow, + keyword: 'update', + message: `${eventPath} (${event.content.length} bytes)` + }); + modifiedFiles = [...modifiedFiles, event.path]; + break; + case 'create': + loggingQueue.push({ + color: green, + keyword: 'create', + message: `${eventPath} (${event.content.length} bytes)` + }); + modifiedFiles = [...modifiedFiles, event.path]; + break; + case 'delete': + loggingQueue.push({ + color: red, + keyword: 'remove', + message: `${eventPath}` + }); + break; + case 'rename': + const eventToPath = event.to.startsWith('/') ? event.to.substr(1) : event.to; + loggingQueue.push({ + color: yellow, + keyword: 'rename', + message: `${eventPath} => ${eventToPath}` + }); + break; + } + }); + + return new Promise((resolve, reject) => { + schematic.call(opts, host) + .map((tree: Tree) => Tree.optimize(tree)) + .concatMap((tree: Tree) => { + return dryRunSink.commit(tree).ignoreElements().concat(Observable.of(tree)); + }) + .concatMap((tree: Tree) => { + if (!error) { + // Output the logging queue. + loggingQueue.forEach(log => ui.writeLine(` ${log.color(log.keyword)} ${log.message}`)); + } + + if (opts.dryRun || error) { + return Observable.of(tree); + } + return fsSink.commit(tree).ignoreElements().concat(Observable.of(tree)); + }) + .subscribe({ + error(err) { + ui.writeLine(red(`Error: ${err.message}`)); + reject(err.message); + }, + complete() { + if (opts.dryRun) { + ui.writeLine(yellow(`\nNOTE: Run with "dry run" no changes were made.`)); + } + resolve({modifiedFiles}); + } + }); + }) + .then((output: SchematicOutput) => { + const modifiedFiles = output.modifiedFiles; + const lintFix = taskOptions.lintFix !== undefined ? + taskOptions.lintFix : CliConfig.getValue('defaults.lintFix'); + + if (lintFix && modifiedFiles) { + const LintTask = require('./lint').default; + const lintTask = new LintTask({ + ui: this.ui, + project: this.project + }); + + return lintTask.run({ + fix: true, + force: true, + silent: true, + configs: [{ + files: modifiedFiles + .filter((file: string) => /.ts$/.test(file)) + .map((file: string) => path.join(projectRoot, file)) + }] + }); + } + }); + } +}); + +function prepOptions(schematic: Schematic<{}, {}>, options: SchematicOptions): SchematicOptions { + + const properties = (<any>schematic.description).schemaJson.properties; + const keys = Object.keys(properties); + + if (schematic.description.name === 'component') { + options.prefix = (options.prefix === 'false' || options.prefix === '') + ? '' : options.prefix; + } + + let preppedOptions = { + ...options, + ...readDefaults(schematic.description.name, keys, options) + }; + preppedOptions = { + ...preppedOptions, + ...normalizeOptions(schematic.description.name, keys, options) + }; + + return preppedOptions; +} + +function readDefaults(schematicName: string, optionKeys: string[], options: any): any { + return optionKeys.reduce((acc: any, key) => { + acc[key] = options[key] !== undefined ? options[key] : readDefault(schematicName, key); + return acc; + }, {}); +} + +const viewEncapsulationMap: any = { + 'emulated': 'Emulated', + 'native': 'Native', + 'none': 'None' +}; + +const changeDetectionMap: any = { + 'default': 'Default', + 'onpush': 'OnPush' +}; + +function normalizeOptions(schematicName: string, optionKeys: string[], options: any): any { + return optionKeys.reduce((acc: any, key) => { + + if (schematicName === 'application' || schematicName === 'component') { + if (key === 'viewEncapsulation' && options[key]) { + acc[key] = viewEncapsulationMap[options[key].toLowerCase()]; + } else if (key === 'changeDetection' && options[key]) { + acc[key] = changeDetectionMap[options[key].toLowerCase()]; + } + } + return acc; + }, {}); +} + +function readDefault(schematicName: String, key: string) { + const jsonPath = `defaults.${schematicName}.${key}`; + return CliConfig.getValue(jsonPath); +} diff --git a/packages/@angular/cli/utilities/schematics.ts b/packages/@angular/cli/utilities/schematics.ts new file mode 100644 index 000000000000..32912b81c6cf --- /dev/null +++ b/packages/@angular/cli/utilities/schematics.ts @@ -0,0 +1,53 @@ +/** + * Refer to the angular shematics library to let the dependency validator + * know it is used.. + * + * require('@schematics/angular') + */ + +import { + Collection, + Schematic, + SchematicEngine, +} from '@angular-devkit/schematics'; +import { + FileSystemSchematicDesc, + NodeModulesEngineHost +} from '@angular-devkit/schematics/tools'; +import { SchemaClassFactory } from '@ngtools/json-schema'; +import 'rxjs/add/operator/concatMap'; +import 'rxjs/add/operator/map'; + +const SilentError = require('silent-error'); + +export function getEngineHost() { + const engineHost = new NodeModulesEngineHost(); + return engineHost; +} + +export function getCollection(collectionName: string): Collection<any, any> { + const engineHost = getEngineHost(); + const engine = new SchematicEngine(engineHost); + + // Add support for schemaJson. + engineHost.registerOptionsTransform((schematic: FileSystemSchematicDesc, options: any) => { + if (schematic.schema) { + const SchemaMetaClass = SchemaClassFactory<any>(schematic.schemaJson!); + const schemaClass = new SchemaMetaClass(options); + return schemaClass.$$root(); + } + return options; + }); + + const collection = engine.createCollection(collectionName); + + if (collection === null) { + throw new SilentError(`Invalid collection (${collectionName}).`); + } + return collection; +} + +export function getSchematic(collection: Collection<any, any>, + schematicName: string): Schematic<any, any> { + return collection.createSchematic(schematicName); +} diff --git a/tests/e2e/tests/generate/component/component-duplicate.ts b/tests/e2e/tests/generate/component/component-duplicate.ts index 25de588cdeed..9099d487b084 100644 --- a/tests/e2e/tests/generate/component/component-duplicate.ts +++ b/tests/e2e/tests/generate/component/component-duplicate.ts @@ -1,4 +1,3 @@ -import * as path from 'path'; import { ng } from '../../../utils/process'; import { oneLine } from 'common-tags'; @@ -8,17 +7,17 @@ export default function () { if (!output.stdout.match(/update src[\\|\/]app[\\|\/]app.module.ts/)) { throw new Error(oneLine` Expected to match - "update src${path.sep}app${path.sep}app.module.ts" - in ${output}.`); + "update src/app/app.module.ts" + in ${output.stdout}.`); } }) .then(() => ng('generate', 'component', 'test-component')) .then((output) => { - if (!output.stdout.match(/identical src[\\|\/]app[\\|\/]app.module.ts/)) { + if (!output.stdout.match(/error! src[\\|\/]app[\\|\/]test-component[\\|\/]test-component.component.ts already exists./)) { throw new Error(oneLine` Expected to match - "identical src${path.sep}app${path.sep}app.module.ts" - in ${output}.`); + "ERROR! src/app/test-component/test-component.ts" + in ${output.stdout}.`); } }); } diff --git a/tests/e2e/tests/generate/module/module-import.ts b/tests/e2e/tests/generate/module/module-import.ts index 2f2f2104fe9c..05ba3a8a1e3b 100644 --- a/tests/e2e/tests/generate/module/module-import.ts +++ b/tests/e2e/tests/generate/module/module-import.ts @@ -27,17 +27,19 @@ export default function () { .then(() => expectFileToMatch(modulePath, /imports: \[(.|\s)*Test3Module(.|\s)*\]/m)) .then(() => ng('generate', 'module', 'test4', '--routing', '--module', 'app')) - .then(() => expectFileToMatch(modulePath, - /import { Test4RoutingModule } from '.\/test4\/test4-routing.module'/)) - .then(() => expectFileToMatch(modulePath, /imports: \[(.|\s)*Test4RoutingModule(.|\s)*\]/m)) + .then(() => expectFileToMatch(modulePath, /imports: \[(.|\s)*Test4Module(.|\s)*\]/m)) + .then(() => expectFileToMatch(join('src', 'app', 'test4', 'test4.module.ts'), + /import { Test4RoutingModule } from '.\/test4-routing.module'/)) + .then(() => expectFileToMatch(join('src', 'app', 'test4', 'test4.module.ts'), + /imports: \[(.|\s)*Test4RoutingModule(.|\s)*\]/m)) .then(() => ng('generate', 'module', 'test5', '--module', 'sub')) .then(() => expectFileToMatch(subModulePath, - /import { Test5Module } from '.\/..\/test5\/test5.module'/)) + /import { Test5Module } from '..\/test5\/test5.module'/)) .then(() => expectFileToMatch(subModulePath, /imports: \[(.|\s)*Test5Module(.|\s)*\]/m)) .then(() => ng('generate', 'module', 'test6', '--module', join('sub', 'deep')) .then(() => expectFileToMatch(deepSubModulePath, - /import { Test6Module } from '.\/..\/..\/test6\/test6.module'/)) + /import { Test6Module } from '..\/..\/test6\/test6.module'/)) .then(() => expectFileToMatch(deepSubModulePath, /imports: \[(.|\s)*Test6Module(.|\s)*\]/m))); } diff --git a/yarn.lock b/yarn.lock index 91dea9eb2c57..c248f212faa4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,15 +2,28 @@ # yarn lockfile v1 -"@angular-devkit/[email protected]": - version "0.0.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.0.3.tgz#092bdf732b79a779ce540f9bb99d6590dd971204" +"@angular-devkit/[email protected]": + version "0.0.5" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.0.5.tgz#321b141126ce462843e4d13e9d5603877e044860" dependencies: loader-utils "^1.1.0" magic-string "^0.19.1" source-map "^0.5.6" typescript "^2.3.3" +"@angular-devkit/[email protected]", "@angular-devkit/core@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-0.0.6.tgz#caf25c0c7928196e244b5fe5124256fcef6bce7c" + +"@angular-devkit/[email protected]": + version "0.0.9" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-0.0.9.tgz#84668c0196648de7e88e1727b2e7defbd7962dfd" + dependencies: + "@angular-devkit/core" "0.0.6" + "@ngtools/json-schema" "^1.1.0" + minimist "^1.2.0" + rxjs "^5.4.2" + "@angular/compiler-cli@^4.0.0": version "4.2.4" resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-4.2.4.tgz#cce941a28362fc1c042ab85890fcaab1e233dd57" @@ -37,6 +50,16 @@ dependencies: tsickle "^0.21.0" +"@ngtools/json-schema@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@ngtools/json-schema/-/json-schema-1.1.0.tgz#c3a0c544d62392acc2813a42c8a0dc6f58f86922" + +"@schematics/[email protected]": + version "0.0.9" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-0.0.9.tgz#c9ff31078af3079990e448ddd07b735ed3c1b4bd" + dependencies: + "@angular-devkit/schematics" "0.0.9" + "@types/chalk@^0.4.28": version "0.4.31" resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-0.4.31.tgz#a31d74241a6b1edbb973cf36d97a2896834a51f9"
2764915724ff5d1e9db023cb8f2bfff8adc26920
2021-10-21 13:55:33
Alan Agius
test(@angular-devkit/build-angular): update tests to match critters 0.0.11 output
false
update tests to match critters 0.0.11 output
test
diff --git a/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts b/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts index f0c039686390..209654a2b9cf 100644 --- a/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts @@ -294,7 +294,7 @@ describe('AppShell Builder', () => { const content = virtualFs.fileBufferToString(host.scopedSync().read(normalize(fileName))); expect(content).toContain('app-shell works!'); - expect(content).toContain('p{color:#000;}'); + expect(content).toContain('p{color:#000}'); expect(content).toMatch( /<link rel="stylesheet" href="styles\.[a-z0-9]+\.css" media="print" onload="this\.media='all'">/, ); diff --git a/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts b/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts index 99eaade9d0a8..908e57221879 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts @@ -37,7 +37,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { .content.toContain( `<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'">`, ); - harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`); + harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`); }); it(`should extract critical css when 'optimization' is unset`, async () => { @@ -131,7 +131,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { .content.toContain( `<link rel="stylesheet" href="http://cdn.com/styles.css" media="print" onload="this.media='all'">`, ); - harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`); + harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`); }); it(`should extract critical css when using '@media all {}' and 'minify' is set to true`, async () => { @@ -157,7 +157,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { .content.toContain( `<link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'">`, ); - harness.expectFile('dist/index.html').content.toContain(`body{color:#000;}`); + harness.expectFile('dist/index.html').content.toContain(`body{color:#000}`); }); }); }); diff --git a/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts b/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts index 99f4fcdf366f..206bce6c590a 100644 --- a/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/build-inline-critical-css_spec.ts @@ -44,7 +44,7 @@ describeBuilder(serveWebpackBrowser, DEV_SERVER_BUILDER_INFO, (harness) => { const { result, response } = await executeOnceAndFetch(harness, '/'); expect(result?.success).toBeTrue(); - expect(await response?.text()).toContain('body{color:#000;}'); + expect(await response?.text()).toContain('body{color:#000}'); }); }); }); diff --git a/packages/angular_devkit/build_angular/src/utils/index-file/inline-critical-css_spec.ts b/packages/angular_devkit/build_angular/src/utils/index-file/inline-critical-css_spec.ts index 9b96cf2fd3ac..1af80e8dc847 100644 --- a/packages/angular_devkit/build_angular/src/utils/index-file/inline-critical-css_spec.ts +++ b/packages/angular_devkit/build_angular/src/utils/index-file/inline-critical-css_spec.ts @@ -58,14 +58,10 @@ describe('InlineCriticalCssProcessor', () => { ); expect(content).not.toContain('color: blue'); expect(tags.stripIndents`${content}`).toContain(tags.stripIndents` - <style>body { - margin: 0; - } - - html { - color: white; - }</style> - `); + <style> + body { margin: 0; } + html { color: white; } + </style>`); }); it('should inline critical css when using deployUrl', async () => { @@ -85,14 +81,10 @@ describe('InlineCriticalCssProcessor', () => { `<link href="http://cdn.com/theme.css" rel="stylesheet" media="print" onload="this.media='all'">`, ); expect(tags.stripIndents`${content}`).toContain(tags.stripIndents` - <style>body { - margin: 0; - } - - html { - color: white; - }</style> - `); + <style> + body { margin: 0; } + html { color: white; } + </style>`); }); it('should compress inline critical css when minify is enabled', async () => { @@ -111,6 +103,6 @@ describe('InlineCriticalCssProcessor', () => { expect(content).toContain( `<link href="theme.css" rel="stylesheet" media="print" onload="this.media='all'">`, ); - expect(content).toContain('<style>body{margin:0;}html{color:white;}</style>'); + expect(content).toContain('<style>body{margin:0}html{color:white}</style>'); }); });
317602e40d327d071b2a4f3277582ab7e4a1cc8c
2018-10-04 05:05:54
Noel Mace
refactor(@angular/cli): remove v8-profiler typings
false
remove v8-profiler typings
refactor
diff --git a/package.json b/package.json index 4f7b3f203d4d..545259eeea87 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,6 @@ "@types/request": "^2.47.1", "@types/semver": "^5.5.0", "@types/source-map": "0.5.2", - "@types/v8-profiler": "^0.0.5", "@types/webpack": "^4.4.11", "@types/webpack-dev-server": "^3.1.0", "@types/webpack-sources": "^0.1.5", diff --git a/packages/angular/cli/lib/init.ts b/packages/angular/cli/lib/init.ts index bce12f2cfe0b..41fa2f33e81f 100644 --- a/packages/angular/cli/lib/init.ts +++ b/packages/angular/cli/lib/init.ts @@ -16,9 +16,6 @@ import { SemVer } from 'semver'; import { Duplex } from 'stream'; import { isWarningEnabled } from '../utilities/config'; -// from @types/v8-profiler (no dependency to v8-profiler as we use v8-profiler-node8) -import { Profiler } from 'v8-profiler'; // tslint:disable-line:no-implicit-dependencies - const packageJson = require('../package.json'); function _fromPackageJson(cwd?: string) { @@ -46,7 +43,10 @@ function _fromPackageJson(cwd?: string) { // Check if we need to profile this CLI run. if (process.env['NG_CLI_PROFILING']) { - let profiler: Profiler; + let profiler: { + startProfiling: (name?: string, recsamples?: boolean) => void; + stopProfiling: (name?: string) => any; // tslint:disable-line:no-any + }; try { profiler = require('v8-profiler-node8'); // tslint:disable-line:no-implicit-dependencies } catch (err) { diff --git a/yarn.lock b/yarn.lock index a19ce9aefc31..35a1e3264287 100644 --- a/yarn.lock +++ b/yarn.lock @@ -463,12 +463,6 @@ version "1.0.1" resolved "https://codeload.github.com/quicktype/types-urijs/tar.gz/a23603a04e31e883a92244bff8515e3d841a8b98" -"@types/v8-profiler@^0.0.5": - version "0.0.5" - resolved "https://registry.yarnpkg.com/@types/v8-profiler/-/v8-profiler-0.0.5.tgz#2b9f0b7ba3294f5b177b66790607772910a195f9" - dependencies: - "@types/node" "*" - "@types/webpack-dev-server@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@types/webpack-dev-server/-/webpack-dev-server-3.1.0.tgz#1fae06ad346d2dd09bc5e34745723946458eed58"
d7bedb729321a85e070d507850dd7b6cac959ed8
2021-04-15 01:20:27
Alan Agius
build: promote @angular-devkit/build-angular to stable
false
promote @angular-devkit/build-angular to stable
build
diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index 0a1f2e536623..23d79a9b53e1 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -2,7 +2,6 @@ "name": "@angular-devkit/build-angular", "version": "0.0.0", "description": "Angular Webpack Build Facade", - "experimental": true, "main": "src/index.js", "typings": "src/index.d.ts", "builders": "builders.json", diff --git a/packages/schematics/angular/utility/latest-versions.ts b/packages/schematics/angular/utility/latest-versions.ts index 3b2c4d88c52a..fd309b714c4a 100644 --- a/packages/schematics/angular/utility/latest-versions.ts +++ b/packages/schematics/angular/utility/latest-versions.ts @@ -18,7 +18,7 @@ export const latestVersions = { // For our e2e tests, these versions must match the latest tag present on the branch. // During RC periods they will not match the latest RC until there's a new git tag, and // should not be updated. - DevkitBuildAngular: '~0.1200.0-next.9', + DevkitBuildAngular: '~12.0.0-next.9', ngPackagr: '^12.0.0-next.8', };
46da426d0a1191302a2faa324d589ff38c519f90
2018-09-20 00:03:29
Charles Lyding
build: update nvmrc to use node 10
false
update nvmrc to use node 10
build
diff --git a/.nvmrc b/.nvmrc index 45a4fb75db86..f599e28b8ab0 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -8 +10
b4e45126f31812a9acf7cb2f8403d310941eee2a
2022-11-07 18:44:18
Angular Robot
build: update angular
false
update angular
build
diff --git a/.github/workflows/dev-infra.yml b/.github/workflows/dev-infra.yml index b5d8aba6f064..64748530c427 100644 --- a/.github/workflows/dev-infra.yml +++ b/.github/workflows/dev-infra.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0 - - uses: angular/dev-infra/github-actions/commit-message-based-labels@f5eff76f2cca985a7cf2ed81df0f79e8848bc686 + - uses: angular/dev-infra/github-actions/commit-message-based-labels@7d103b83a07f132629592fc9918ce17d42a5e382 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} post_approval_changes: runs-on: ubuntu-latest steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0 - - uses: angular/dev-infra/github-actions/post-approval-changes@f5eff76f2cca985a7cf2ed81df0f79e8848bc686 + - uses: angular/dev-infra/github-actions/post-approval-changes@7d103b83a07f132629592fc9918ce17d42a5e382 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/feature-requests.yml b/.github/workflows/feature-requests.yml index cddd5cc4a3a7..7ed7afd86084 100644 --- a/.github/workflows/feature-requests.yml +++ b/.github/workflows/feature-requests.yml @@ -16,6 +16,6 @@ jobs: if: github.repository == 'angular/angular-cli' runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/feature-request@f5eff76f2cca985a7cf2ed81df0f79e8848bc686 + - uses: angular/dev-infra/github-actions/feature-request@7d103b83a07f132629592fc9918ce17d42a5e382 with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/lock-closed.yml b/.github/workflows/lock-closed.yml index df57f9daf83c..23eaf698e908 100644 --- a/.github/workflows/lock-closed.yml +++ b/.github/workflows/lock-closed.yml @@ -13,6 +13,6 @@ jobs: lock_closed: runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/lock-closed@f5eff76f2cca985a7cf2ed81df0f79e8848bc686 + - uses: angular/dev-infra/github-actions/lock-closed@7d103b83a07f132629592fc9918ce17d42a5e382 with: lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }} diff --git a/package.json b/package.json index e2603d8c0b2a..bb9942269738 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "devDependencies": { "@ampproject/remapping": "2.2.0", "@angular/animations": "15.0.0-rc.2", - "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#17772156defc8e91a8b28459f9fca389391ba117", + "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#fb42478534df7d48ec23a6834fea94a776cb89a0", "@angular/cdk": "14.2.6", "@angular/common": "15.0.0-rc.2", "@angular/compiler": "15.0.0-rc.2", @@ -75,7 +75,7 @@ "@angular/forms": "15.0.0-rc.2", "@angular/localize": "15.0.0-rc.2", "@angular/material": "14.2.6", - "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#513257942cca4ad33a9a7ed141f8c6840f45545c", + "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#d1b5e1929c8b01f7621d65c54a52ac6a9adb22ad", "@angular/platform-browser": "15.0.0-rc.2", "@angular/platform-browser-dynamic": "15.0.0-rc.2", "@angular/platform-server": "15.0.0-rc.2", diff --git a/tests/legacy-cli/e2e/ng-snapshot/package.json b/tests/legacy-cli/e2e/ng-snapshot/package.json index 1d0184f2e456..95029e4de7d0 100644 --- a/tests/legacy-cli/e2e/ng-snapshot/package.json +++ b/tests/legacy-cli/e2e/ng-snapshot/package.json @@ -2,21 +2,21 @@ "description": "snapshot versions of Angular for e2e testing", "private": true, "dependencies": { - "@angular/animations": "github:angular/animations-builds#7e38c3d11d26f0d622fb4a60c5a40df01d754bd4", - "@angular/cdk": "github:angular/cdk-builds#92130ad3eecdec26392ad518d74b9259aead0bb3", - "@angular/common": "github:angular/common-builds#9f364feae82d6f059de18c8ff41dc8aa56bc92e6", - "@angular/compiler": "github:angular/compiler-builds#2f994dfbff5de854549b93ea0640b6119311ba9f", - "@angular/compiler-cli": "github:angular/compiler-cli-builds#1430797f66cd44618200af6dbea24a1462c015d9", - "@angular/core": "github:angular/core-builds#a7a149da0efb7ab3960f52a2a828c9b4fd952f72", - "@angular/forms": "github:angular/forms-builds#29212ac2f8376782be290ba108d35417c4352152", - "@angular/language-service": "github:angular/language-service-builds#eb70897d9b2b765b765e9db01401a008cfc99902", - "@angular/localize": "github:angular/localize-builds#6b80647cf2ade1dcf4d716e84eeb305b783f1788", - "@angular/material": "github:angular/material-builds#be53de1519fa448b74b817ead393e1a3a649f194", - "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#0f74f8e18c997a9bb30cf4d6cf7dec50632c7f83", - "@angular/platform-browser": "github:angular/platform-browser-builds#09bbab7f82d5cb67c5af394e393df0b314369808", - "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#5a23b34350d73670809c2441b9e704b1f77244a0", - "@angular/platform-server": "github:angular/platform-server-builds#fbe99db08b15bbfa2eadd220ee5e0216b95d2b43", - "@angular/router": "github:angular/router-builds#3e6659c83749118fe3a1af42936a7a04a7c85e13", - "@angular/service-worker": "github:angular/service-worker-builds#cd499aa60982beb754988e5766cf2c94e5941060" + "@angular/animations": "github:angular/animations-builds#71b050feeee2deb379646f95d78b158ed18eb8db", + "@angular/cdk": "github:angular/cdk-builds#f2e4fb714ea73fddb8f046c23afc67bb2b4509e6", + "@angular/common": "github:angular/common-builds#c3a44d2b7bea286cbeef6c107b7cfe854e1db6e0", + "@angular/compiler": "github:angular/compiler-builds#f92ca59a2c44b28c32bbe405bb1c35d256a3a1ce", + "@angular/compiler-cli": "github:angular/compiler-cli-builds#d9b5546e9882f3869875648897cd36c17c26e7ca", + "@angular/core": "github:angular/core-builds#93aa387e52c94a036835f133b2ddc099392433bd", + "@angular/forms": "github:angular/forms-builds#8f1e1d6bf55407370173ad64d3ea9b364c4c8a6d", + "@angular/language-service": "github:angular/language-service-builds#913a0dd1177a23f501dde162c708e155e83b28f2", + "@angular/localize": "github:angular/localize-builds#3481346b0dcc78a4f27b5a9bcc002acb9c86a0c3", + "@angular/material": "github:angular/material-builds#60e0e4165df225436d9da3ad948585f87e79232b", + "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#a5e0f0dcc566f0f9372021189ac0f661f32a4bf8", + "@angular/platform-browser": "github:angular/platform-browser-builds#62161614c9ebc946d3602e671c77b398e3f479eb", + "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#a17f48c36e716bfc9c601b22fe8f0476fd40bb45", + "@angular/platform-server": "github:angular/platform-server-builds#4b1042c726f5419e3f6d623d343a67953560ae70", + "@angular/router": "github:angular/router-builds#18fa0c5c2b986835d8a8702221d2369f947c8f0a", + "@angular/service-worker": "github:angular/service-worker-builds#684a523287cdee2325cb48367939882ccada7910" } } diff --git a/yarn.lock b/yarn.lock index 0cafcebe7b1d..b188ceaabc41 100644 --- a/yarn.lock +++ b/yarn.lock @@ -120,10 +120,10 @@ "@angular/core" "^13.0.0 || ^14.0.0-0" reflect-metadata "^0.1.13" -"@angular/build-tooling@https://github.com/angular/dev-infra-private-build-tooling-builds.git#17772156defc8e91a8b28459f9fca389391ba117": - version "0.0.0-f5eff76f2cca985a7cf2ed81df0f79e8848bc686" - uid "17772156defc8e91a8b28459f9fca389391ba117" - resolved "https://github.com/angular/dev-infra-private-build-tooling-builds.git#17772156defc8e91a8b28459f9fca389391ba117" +"@angular/build-tooling@https://github.com/angular/dev-infra-private-build-tooling-builds.git#fb42478534df7d48ec23a6834fea94a776cb89a0": + version "0.0.0-7d103b83a07f132629592fc9918ce17d42a5e382" + uid fb42478534df7d48ec23a6834fea94a776cb89a0 + resolved "https://github.com/angular/dev-infra-private-build-tooling-builds.git#fb42478534df7d48ec23a6834fea94a776cb89a0" dependencies: "@angular-devkit/build-angular" "15.0.0-rc.2" "@angular/benchpress" "0.3.0" @@ -235,10 +235,10 @@ dependencies: tslib "^2.3.0" -"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#513257942cca4ad33a9a7ed141f8c6840f45545c": - version "0.0.0-f5eff76f2cca985a7cf2ed81df0f79e8848bc686" - uid "513257942cca4ad33a9a7ed141f8c6840f45545c" - resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#513257942cca4ad33a9a7ed141f8c6840f45545c" +"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#d1b5e1929c8b01f7621d65c54a52ac6a9adb22ad": + version "0.0.0-7d103b83a07f132629592fc9918ce17d42a5e382" + uid d1b5e1929c8b01f7621d65c54a52ac6a9adb22ad + resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#d1b5e1929c8b01f7621d65c54a52ac6a9adb22ad" dependencies: "@yarnpkg/lockfile" "^1.1.0" typescript "~4.8.0"
b60b7dacfaefd5b1b4067d888f06fde5742ed23f
2024-06-26 21:01:10
Charles Lyding
refactor(@angular-devkit/schematics): avoid double file access reading JSON files
false
avoid double file access reading JSON files
refactor
diff --git a/packages/angular_devkit/schematics/tools/file-system-utility.ts b/packages/angular_devkit/schematics/tools/file-system-utility.ts index be0330280cc7..ea51d9fced96 100644 --- a/packages/angular_devkit/schematics/tools/file-system-utility.ts +++ b/packages/angular_devkit/schematics/tools/file-system-utility.ts @@ -8,16 +8,22 @@ import { JsonValue } from '@angular-devkit/core'; import { FileDoesNotExistException } from '@angular-devkit/schematics'; -import { existsSync, readFileSync } from 'fs'; +import { readFileSync } from 'fs'; import { ParseError, parse, printParseErrorCode } from 'jsonc-parser'; export function readJsonFile(path: string): JsonValue { - if (!existsSync(path)) { - throw new FileDoesNotExistException(path); + let data; + try { + data = readFileSync(path, 'utf-8'); + } catch (e) { + if (e && typeof e === 'object' && 'code' in e && e.code === 'ENOENT') { + throw new FileDoesNotExistException(path); + } + throw e; } const errors: ParseError[] = []; - const content = parse(readFileSync(path, 'utf-8'), errors, { allowTrailingComma: true }); + const content = parse(data, errors, { allowTrailingComma: true }) as JsonValue; if (errors.length) { const { error, offset } = errors[0];
7df9d19297d1160e6b8614f1763e11b307aeef8b
2021-05-13 23:06:41
Alan Agius
fix(@angular-devkit/build-angular): add experimental web-assembly
false
add experimental web-assembly
fix
diff --git a/packages/angular_devkit/build_angular/src/webpack/configs/common.ts b/packages/angular_devkit/build_angular/src/webpack/configs/common.ts index 083537ac9b4c..17410b92f63c 100644 --- a/packages/angular_devkit/build_angular/src/webpack/configs/common.ts +++ b/packages/angular_devkit/build_angular/src/webpack/configs/common.ts @@ -487,6 +487,10 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration { ...extraRules, ], }, + experiments: { + syncWebAssembly: true, + asyncWebAssembly: true, + }, cache: !!buildOptions.watch && !cachingDisabled && { type: 'memory',
c518827619408e246bcbdd3eeeb141006e5d5e4b
2020-04-09 12:03:13
Renovate Bot
build: update @types/express-serve-static-core to version 4.17.4
false
update @types/express-serve-static-core to version 4.17.4
build
diff --git a/package.json b/package.json index 9615a6796fb0..715e753845ee 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@schematics/angular": "^9.1.0-next.3", "@types/browser-sync": "^2.26.1", "@types/express": "4.17.4", - "@types/express-serve-static-core": "4.17.3", + "@types/express-serve-static-core": "4.17.4", "@types/fs-extra": "^8.0.0", "@types/hapi__hapi": "^19.0.0", "@types/hapi__inert": "^5.2.0", diff --git a/yarn.lock b/yarn.lock index 489cbb51c010..c88b08443b8c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1599,7 +1599,7 @@ resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== -"@types/express-serve-static-core@*", "@types/[email protected]": +"@types/express-serve-static-core@*": version "4.17.3" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.3.tgz#dc8068ee3e354d7fba69feb86b3dfeee49b10f09" integrity sha512-sHEsvEzjqN+zLbqP+8OXTipc10yH1QLR+hnr5uw29gi9AhCAAAdri8ClNV7iMdrJrIzXIQtlkPvq8tJGhj3QJQ== @@ -1607,6 +1607,14 @@ "@types/node" "*" "@types/range-parser" "*" +"@types/[email protected]": + version "4.17.4" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.4.tgz#157c79c2d28b632d6418497c57c93185e392e444" + integrity sha512-dPs6CaRWxsfHbYDVU51VjEJaUJEcli4UI0fFMT4oWmgCvHj+j7oIxz5MLHVL0Rv++N004c21ylJNdWQvPkkb5w== + dependencies: + "@types/node" "*" + "@types/range-parser" "*" + "@types/[email protected]": version "4.17.4" resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.4.tgz#e78bf09f3f530889575f4da8a94cd45384520aac"
0dc36f2848163c570921f84033c6e5450ae1cfb6
2018-09-06 23:29:24
Filipe Silva
ci: update CI to node 10
false
update CI to node 10
ci
diff --git a/.appveyor.yml b/.appveyor.yml index 7b237d6d1cf7..edc5ecbae89d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,15 +1,14 @@ environment: - # Note: if updating to Node 10, use at least 10.5.0 to include a fix for - # https://github.com/nodejs/node/issues/20297 - nodejs_version: "8.9.2" # Same version as used in CircleCI. + nodejs_version: "10.9.0" # Same version as used in CircleCI. matrix: fast_finish: true install: - ps: Install-Product node $env:nodejs_version - - yarn install --frozen-lockfile - - npm run webdriver-update-appveyor + # --network-timeout is a workaround for https://github.com/yarnpkg/yarn/issues/6221 + - yarn --frozen-lockfile --network-timeout=500000 + - yarn webdriver-update-appveyor test_script: - node --version diff --git a/.circleci/config.yml b/.circleci/config.yml index bab56e835e84..5ffb9a5590e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,9 @@ ## IMPORTANT # If you change the `docker_image` version, also change the `cache_key` suffix and the version of # `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file. -var_1: &docker_image angular/ngcontainer:0.3.3 -var_2: &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.3.3-2 +var_1: &docker_image angular/ngcontainer:0.5.0 +var_2: &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.5.0 +var_3: &node_8_docker_image angular/ngcontainer:0.3.3 # Settings common to each job anchor_1: &defaults @@ -84,8 +85,21 @@ jobs: parallelism: 4 steps: - attach_workspace: *attach_options - - run: npm install --global npm@6 - run: xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} + + e2e-node-8: + <<: *defaults + # Overwrite docker image to node 8. + docker: + - image: *node_8_docker_image + environment: + BASH_ENV: ~/.profile + resource_class: xlarge + parallelism: 4 + steps: + - attach_workspace: *attach_options + - run: npm install --global npm@6 + - run: xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/* build: <<: *defaults @@ -153,6 +167,9 @@ workflows: - e2e-cli: requires: - build + - e2e-node-8: + requires: + - build - snapshot_publish: requires: - test diff --git a/WORKSPACE b/WORKSPACE index 3647c4e935d3..01a96e2ea061 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -29,9 +29,9 @@ go_register_toolchains() # We need a minimum of this version to include https://github.com/bazelbuild/rules_nodejs/pull/281. http_archive( name = "build_bazel_rules_nodejs", - url = "https://github.com/bazelbuild/rules_nodejs/archive/c75e3dd0571b0937e3ce0c4f0e6b6b50d90468f0.zip", - strip_prefix = "rules_nodejs-c75e3dd0571b0937e3ce0c4f0e6b6b50d90468f0", - sha256 = "b78506ddaed7c682027f873d2bd50086a28570b3187da9fa16fe1672eed3015e", + url = "https://github.com/bazelbuild/rules_nodejs/archive/0.12.4.zip", + strip_prefix = "rules_nodejs-0.12.4", + sha256 = "c482700e032b4df60425cb9a6f8f28152fb1c4c947a9d61e6132fc59ce332b16", ) # Load the TypeScript rules, its dependencies, and setup the workspace. @@ -58,6 +58,8 @@ check_bazel_version("0.15.0") node_repositories( package_json = ["//:package.json"], preserve_symlinks = True, + node_version = "10.3.0", + yarn_version = "1.6.0", ) local_repository( diff --git a/package.json b/package.json index 7f1bcd60ea16..9f6c4df624c2 100644 --- a/package.json +++ b/package.json @@ -35,15 +35,15 @@ "validate-commits": "./bin/devkit-admin validate-commits", "prepush": "node ./bin/devkit-admin hooks/pre-push", "webdriver-update-appveyor": "webdriver-manager update --standalone false --gecko false --versions.chrome 2.37", - "webdriver-update-circleci": "webdriver-manager update --standalone false --gecko false --versions.chrome 2.33" + "webdriver-update-circleci": "webdriver-manager update --standalone false --gecko false --versions.chrome $CHROMEDRIVER_VERSION_ARG " }, "repository": { "type": "git", "url": "https://github.com/angular/angular-cli.git" }, "engines": { - "node": ">= 8.9.0", - "npm": ">= 5.5.1" + "node": ">=10.3.0 <11.0.0", + "yarn": ">=1.6.0 <2.0.0" }, "author": "Angular Authors", "license": "MIT",
83d1d233a2eded71fcdd5fec4b1a90bdd4dbf132
2024-04-12 18:56:01
Alan Agius
feat(@angular-devkit/build-angular): enhance Sass rebasing importer for resources URL defined in variables and handling of external paths
false
enhance Sass rebasing importer for resources URL defined in variables and handling of external paths
feat
diff --git a/packages/angular_devkit/build_angular/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts b/packages/angular_devkit/build_angular/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts index 20edece4da69..44f0cd871908 100644 --- a/packages/angular_devkit/build_angular/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/application/tests/behavior/stylesheet-url-resolution_spec.ts @@ -7,6 +7,7 @@ */ import { buildApplication } from '../../index'; +import { OutputHashing } from '../../schema'; import { APPLICATION_BUILDER_INFO, BASE_OPTIONS, describeBuilder } from '../setup'; describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { @@ -164,34 +165,18 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { ); }); - it('should not rebase a URL with a namespaced Sass variable reference', async () => { - await harness.writeFile( - 'src/styles.scss', - ` - @import "a"; - `, - ); - await harness.writeFile( - 'src/a.scss', - ` - @use './b' as named; - .a { - background-image: url(named.$my-var) - } - `, - ); - await harness.writeFile( - 'src/b.scss', - ` - @forward './c.scss' show $my-var; - `, - ); - await harness.writeFile( - 'src/c.scss', - ` - $my-var: "https://example.com/example.png"; - `, - ); + it('should not rebase a URL with a namespaced Sass variable reference that points to an absolute asset', async () => { + await harness.writeFiles({ + 'src/styles.scss': `@use 'theme/a';`, + 'src/theme/a.scss': ` + @use './b' as named; + .a { + background-image: url(named.$my-var) + } + `, + 'src/theme/b.scss': `@forward './c.scss' show $my-var;`, + 'src/theme/c.scss': `$my-var: "https://example.com/example.png";`, + }); harness.useTarget('build', { ...BASE_OPTIONS, @@ -199,11 +184,112 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { }); const { result } = await harness.executeOnce(); - expect(result?.success).toBe(true); + expect(result?.success).toBeTrue(); harness .expectFile('dist/browser/styles.css') .content.toContain('url(https://example.com/example.png)'); }); + + it('should not rebase a URL with a Sass variable reference that points to an absolute asset', async () => { + await harness.writeFiles({ + 'src/styles.scss': `@use 'theme/a';`, + 'src/theme/a.scss': ` + @import './b'; + .a { + background-image: url($my-var) + } + `, + 'src/theme/b.scss': `$my-var: "https://example.com/example.png";`, + }); + + harness.useTarget('build', { + ...BASE_OPTIONS, + styles: ['src/styles.scss'], + }); + + const { result } = await harness.executeOnce(); + expect(result?.success).toBeTrue(); + + harness + .expectFile('dist/browser/styles.css') + .content.toContain('url(https://example.com/example.png)'); + }); + + it('should rebase a URL with a namespaced Sass variable referencing a local resource', async () => { + await harness.writeFiles({ + 'src/styles.scss': `@use 'theme/a';`, + 'src/theme/a.scss': ` + @use './b' as named; + .a { + background-image: url(named.$my-var) + } + `, + 'src/theme/b.scss': `@forward './c.scss' show $my-var;`, + 'src/theme/c.scss': `$my-var: "./images/logo.svg";`, + 'src/theme/images/logo.svg': `<svg></svg>`, + }); + + harness.useTarget('build', { + ...BASE_OPTIONS, + outputHashing: OutputHashing.None, + styles: ['src/styles.scss'], + }); + + const { result } = await harness.executeOnce(); + expect(result?.success).toBeTrue(); + + harness.expectFile('dist/browser/styles.css').content.toContain(`url("./media/logo.svg")`); + harness.expectFile('dist/browser/media/logo.svg').toExist(); + }); + + it('should rebase a URL with a Sass variable referencing a local resource', async () => { + await harness.writeFiles({ + 'src/styles.scss': `@use 'theme/a';`, + 'src/theme/a.scss': ` + @import './b'; + .a { + background-image: url($my-var) + } + `, + 'src/theme/b.scss': `$my-var: "./images/logo.svg";`, + 'src/theme/images/logo.svg': `<svg></svg>`, + }); + + harness.useTarget('build', { + ...BASE_OPTIONS, + outputHashing: OutputHashing.None, + styles: ['src/styles.scss'], + }); + + const { result } = await harness.executeOnce(); + expect(result?.success).toBeTrue(); + + harness.expectFile('dist/browser/styles.css').content.toContain(`url("./media/logo.svg")`); + harness.expectFile('dist/browser/media/logo.svg').toExist(); + }); + + it('should not process a URL that has been marked as external', async () => { + await harness.writeFiles({ + 'src/styles.scss': `@use 'theme/a';`, + 'src/theme/a.scss': ` + .a { + background-image: url("assets/logo.svg") + } + `, + }); + + harness.useTarget('build', { + ...BASE_OPTIONS, + outputHashing: OutputHashing.None, + externalDependencies: ['assets/*'], + styles: ['src/styles.scss'], + }); + + const { result } = await harness.executeOnce(); + expect(result?.success).toBeTrue(); + + harness.expectFile('dist/browser/styles.css').content.toContain(`url(assets/logo.svg)`); + }); }); }); diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/stylesheets/css-resource-plugin.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/stylesheets/css-resource-plugin.ts index 3eb35728aff4..6f9353cb9415 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/stylesheets/css-resource-plugin.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/stylesheets/css-resource-plugin.ts @@ -32,42 +32,51 @@ export function createCssResourcePlugin(cache?: LoadResultCache): Plugin { name: 'angular-css-resource', setup(build: PluginBuild): void { build.onResolve({ filter: /.*/ }, async (args) => { + const { importer, path, kind, resolveDir, namespace, pluginData = {} } = args; + // Only attempt to resolve url tokens which only exist inside CSS. // Also, skip this plugin if already attempting to resolve the url-token. - if (args.kind !== 'url-token' || args.pluginData?.[CSS_RESOURCE_RESOLUTION]) { + if (kind !== 'url-token' || pluginData[CSS_RESOURCE_RESOLUTION]) { return null; } + let [containingDir, resourceUrl] = path.split('||file:', 2); + if (resourceUrl === undefined) { + // This can happen due to early exit checks in rebasing-importer + // logic such as when the url is an external URL. + resourceUrl = containingDir; + containingDir = ''; + } + // If root-relative, absolute or protocol relative url, mark as external to leave the // path/URL in place. - if (/^((?:\w+:)?\/\/|data:|chrome:|#|\/)/.test(args.path)) { + if (/^((?:\w+:)?\/\/|data:|chrome:|#|\/)/.test(resourceUrl)) { return { - path: args.path, + path: resourceUrl, external: true, }; } - const { importer, kind, resolveDir, namespace, pluginData = {} } = args; pluginData[CSS_RESOURCE_RESOLUTION] = true; - const result = await build.resolve(args.path, { + const result = await build.resolve(resourceUrl, { importer, kind, namespace, pluginData, - resolveDir, + resolveDir: join(resolveDir, containingDir), }); if (result.errors.length) { const error = result.errors[0]; - if (args.path[0] === '~') { + if (resourceUrl[0] === '~') { error.notes = [ { location: null, text: 'You can remove the tilde and use a relative path to reference it, which should remove this error.', }, ]; - } else if (args.path[0] === '^') { + } else if (resourceUrl[0] === '^') { error.notes = [ { location: null, diff --git a/packages/angular_devkit/build_angular/src/tools/sass/rebasing-importer.ts b/packages/angular_devkit/build_angular/src/tools/sass/rebasing-importer.ts index 1a83ce76824c..a26d8f5105fd 100644 --- a/packages/angular_devkit/build_angular/src/tools/sass/rebasing-importer.ts +++ b/packages/angular_devkit/build_angular/src/tools/sass/rebasing-importer.ts @@ -82,18 +82,15 @@ abstract class UrlRebasingImporter implements Importer<'sync'> { continue; } - // Skip if value is a Sass variable. - // Sass variable usage either starts with a `$` or contains a namespace and a `.$` - if (value[0] === '$' || /^\w+\.\$/.test(value)) { - continue; - } - // Skip if root-relative, absolute or protocol relative url if (/^((?:\w+:)?\/\/|data:|chrome:|#|\/)/.test(value)) { continue; } - const rebasedPath = relative(this.entryDirectory, join(stylesheetDirectory, value)); + // Sass variable usage either starts with a `$` or contains a namespace and a `.$` + const valueNormalized = value[0] === '$' || /^\w+\.\$/.test(value) ? `#{${value}}` : value; + const rebasedPath = + relative(this.entryDirectory, stylesheetDirectory) + '||file:' + valueNormalized; // Normalize path separators and escape characters // https://developer.mozilla.org/en-US/docs/Web/CSS/url#syntax
bc33eaeb4a91b979be61c7f0d4f16857d0b7550d
2019-12-26 14:53:53
Renovate Bot
build: update karma-jasmine-html-reporter to version 1.5.1
false
update karma-jasmine-html-reporter to version 1.5.1
build
diff --git a/integration/express-engine-ivy-prerender/package.json b/integration/express-engine-ivy-prerender/package.json index 02dab5bba5f2..e3f10380c41d 100644 --- a/integration/express-engine-ivy-prerender/package.json +++ b/integration/express-engine-ivy-prerender/package.json @@ -52,7 +52,7 @@ "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "2.1.1", "karma-jasmine": "2.0.1", - "karma-jasmine-html-reporter": "1.4.2", + "karma-jasmine-html-reporter": "1.5.1", "protractor": "file:../../node_modules/protractor", "ts-node": "8.5.4", "tslint": "5.20.0", diff --git a/integration/express-engine-ivy/package.json b/integration/express-engine-ivy/package.json index f5ee2c051c16..9198075c5b19 100644 --- a/integration/express-engine-ivy/package.json +++ b/integration/express-engine-ivy/package.json @@ -50,7 +50,7 @@ "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "2.1.1", "karma-jasmine": "2.0.1", - "karma-jasmine-html-reporter": "1.4.2", + "karma-jasmine-html-reporter": "1.5.1", "protractor": "file:../../node_modules/protractor", "ts-node": "8.5.4", "tslint": "5.20.0", diff --git a/integration/express-engine-ve/package.json b/integration/express-engine-ve/package.json index c33caf3d0457..8531b0de78f8 100644 --- a/integration/express-engine-ve/package.json +++ b/integration/express-engine-ve/package.json @@ -50,7 +50,7 @@ "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "2.1.1", "karma-jasmine": "2.0.1", - "karma-jasmine-html-reporter": "1.4.2", + "karma-jasmine-html-reporter": "1.5.1", "protractor": "file:../../node_modules/protractor", "ts-node": "8.5.4", "tslint": "5.20.0", diff --git a/integration/hapi-engine-ivy/package.json b/integration/hapi-engine-ivy/package.json index 3a7a008fa42a..4a7b455e924d 100644 --- a/integration/hapi-engine-ivy/package.json +++ b/integration/hapi-engine-ivy/package.json @@ -52,7 +52,7 @@ "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "2.1.1", "karma-jasmine": "2.0.1", - "karma-jasmine-html-reporter": "1.4.2", + "karma-jasmine-html-reporter": "1.5.1", "protractor": "file:../../node_modules/protractor", "ts-node": "8.5.4", "tslint": "5.20.0", diff --git a/integration/hapi-engine-ve/package.json b/integration/hapi-engine-ve/package.json index 46b4b245c518..b1320c6ea0c8 100644 --- a/integration/hapi-engine-ve/package.json +++ b/integration/hapi-engine-ve/package.json @@ -52,7 +52,7 @@ "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "2.1.1", "karma-jasmine": "2.0.1", - "karma-jasmine-html-reporter": "1.4.2", + "karma-jasmine-html-reporter": "1.5.1", "protractor": "file:../../node_modules/protractor", "ts-node": "8.5.4", "tslint": "5.20.0",
7f0a7ce5df9780eb658ded0e05d4175740cbe91f
2018-10-23 22:46:12
Alan Agius
feat(@angular-devkit/build-angular): expose `buildWebpackConfig` method in `KarmaBuilder`
false
expose `buildWebpackConfig` method in `KarmaBuilder`
feat
diff --git a/packages/angular_devkit/build_angular/src/karma/index.ts b/packages/angular_devkit/build_angular/src/karma/index.ts index 19f63f7d8498..3479edf21f68 100644 --- a/packages/angular_devkit/build_angular/src/karma/index.ts +++ b/packages/angular_devkit/build_angular/src/karma/index.ts @@ -88,7 +88,7 @@ export class KarmaBuilder implements Builder<KarmaBuilderSchema> { root: getSystemPath(root), projectRoot: getSystemPath(projectRoot), options: options as NormalizedKarmaBuilderSchema, - webpackConfig: this._buildWebpackConfig(root, projectRoot, sourceRoot, host, + webpackConfig: this.buildWebpackConfig(root, projectRoot, sourceRoot, host, options as NormalizedKarmaBuilderSchema), // Pass onto Karma to emit BuildEvents. successCb: () => obs.next({ success: true }), @@ -122,7 +122,7 @@ export class KarmaBuilder implements Builder<KarmaBuilderSchema> { ); } - private _buildWebpackConfig( + buildWebpackConfig( root: Path, projectRoot: Path, sourceRoot: Path | undefined,
721ba918b19c7f5fb6036c2f3732693b6547bd5a
2020-08-17 00:12:26
Renovate Bot
build: update rollup to version 2.26.2
false
update rollup to version 2.26.2
build
diff --git a/package.json b/package.json index cc9c199d59a4..205743856c9e 100644 --- a/package.json +++ b/package.json @@ -196,7 +196,7 @@ "regenerator-runtime": "0.13.7", "resolve-url-loader": "3.1.1", "rimraf": "3.0.2", - "rollup": "2.26.0", + "rollup": "2.26.2", "rxjs": "6.6.2", "sass": "1.26.3", "sass-loader": "9.0.3", diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index 3f62eb7b4b1d..a6f9075f9652 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -50,7 +50,7 @@ "regenerator-runtime": "0.13.7", "resolve-url-loader": "3.1.1", "rimraf": "3.0.2", - "rollup": "2.26.0", + "rollup": "2.26.2", "rxjs": "6.6.2", "sass": "1.26.10", "sass-loader": "9.0.3", diff --git a/yarn.lock b/yarn.lock index 12bfb1543851..b4f4facdf10d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10659,10 +10659,10 @@ rollup-plugin-sourcemaps@^0.6.0: "@rollup/pluginutils" "^3.0.9" source-map-resolve "^0.6.0" [email protected]: - version "2.26.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.26.0.tgz#736ffa773fe0cefdfd0b9669abdce444d6a68f07" - integrity sha512-1kwpBuxQERz+ymjPLepaXqf3NMRDwSumuEfW/fsTtflmyyhI6ev7nLy5Vdadvn01zd0WWAojRuvA2+0coPGCGQ== [email protected]: + version "2.26.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.26.2.tgz#de32c2c28a0b5fb843d120e2b3a252a18e7740e9" + integrity sha512-dQOms6XRPGHS5Chq7JkkkGXeO72hzWuftB4Rba0rMIT5lThvcEXLTgjrp6+ehhUlsFraOfvcF0Q8dRoQ/X68WQ== optionalDependencies: fsevents "~2.1.2"
b66d36b4b03f3d2051ca8c9d3b56a59718ea1b30
2025-03-18 22:31:26
Charles Lyding
build: move `@angular/build` specific dependencies out of root
false
move `@angular/build` specific dependencies out of root
build
diff --git a/package.json b/package.json index 3ab29836476d..82a6fd460c8f 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ }, "homepage": "https://github.com/angular/angular-cli", "devDependencies": { - "@ampproject/remapping": "2.3.0", "@angular/animations": "20.0.0-next.2", "@angular/cdk": "20.0.0-next.1", "@angular/common": "20.0.0-next.2", @@ -134,19 +133,11 @@ "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "karma-source-map-support": "1.4.0", - "less": "4.2.2", "listr2": "8.2.5", - "lmdb": "3.2.6", "lodash": "^4.17.21", - "magic-string": "0.30.17", - "mrmime": "2.0.1", - "ng-packagr": "20.0.0-next.1", "npm": "^11.0.0", "open": "10.1.0", "ora": "5.4.1", - "parse5-html-rewriting-stream": "7.0.0", - "piscina": "4.9.0", - "postcss": "8.5.3", "prettier": "^3.0.0", "protractor": "~7.0.0", "puppeteer": "18.2.1", @@ -155,13 +146,11 @@ "rollup-license-plugin": "~3.0.1", "rollup-plugin-sourcemaps": "^0.6.0", "rxjs": "7.8.2", - "sass": "1.85.1", "semver": "7.7.1", "shelljs": "^0.9.0", "source-map-support": "0.5.21", "symbol-observable": "4.0.0", "tar": "^7.0.0", - "tinyglobby": "0.2.12", "tree-kill": "1.2.2", "ts-node": "^10.9.1", "tslib": "2.8.1", @@ -170,7 +159,6 @@ "unenv": "^1.10.0", "verdaccio": "6.0.5", "verdaccio-auth-memory": "^10.0.0", - "watchpack": "2.4.2", "yargs-parser": "21.1.1", "zone.js": "^0.15.0" }, diff --git a/packages/angular/build/BUILD.bazel b/packages/angular/build/BUILD.bazel index 624e8c31dc35..360a934950d2 100644 --- a/packages/angular/build/BUILD.bazel +++ b/packages/angular/build/BUILD.bazel @@ -74,15 +74,28 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular/build", deps = [ + ":node_modules/@ampproject/remapping", ":node_modules/@angular-devkit/architect", ":node_modules/@angular-devkit/core", ":node_modules/@angular/ssr", ":node_modules/@inquirer/confirm", ":node_modules/@vitejs/plugin-basic-ssl", ":node_modules/jsonc-parser", + ":node_modules/less", + ":node_modules/listr2", + ":node_modules/lmdb", + ":node_modules/magic-string", + ":node_modules/mrmime", + ":node_modules/ng-packagr", + ":node_modules/parse5-html-rewriting-stream", ":node_modules/picomatch", + ":node_modules/piscina", + ":node_modules/postcss", + ":node_modules/sass", + ":node_modules/source-map-support", + ":node_modules/tinyglobby", ":node_modules/vite", - "//:node_modules/@ampproject/remapping", + ":node_modules/watchpack", "//:node_modules/@angular/common", "//:node_modules/@angular/compiler", "//:node_modules/@angular/compiler-cli", @@ -108,23 +121,10 @@ ts_project( "//:node_modules/https-proxy-agent", "//:node_modules/istanbul-lib-instrument", "//:node_modules/karma", - "//:node_modules/less", - "//:node_modules/listr2", - "//:node_modules/lmdb", - "//:node_modules/magic-string", - "//:node_modules/mrmime", - "//:node_modules/ng-packagr", - "//:node_modules/parse5-html-rewriting-stream", - "//:node_modules/piscina", - "//:node_modules/postcss", "//:node_modules/rollup", - "//:node_modules/sass", "//:node_modules/semver", - "//:node_modules/source-map-support", - "//:node_modules/tinyglobby", "//:node_modules/tslib", "//:node_modules/typescript", - "//:node_modules/watchpack", ], ) @@ -204,7 +204,7 @@ ts_project( "//:node_modules/@angular/platform-browser", "//:node_modules/@angular/platform-browser-dynamic", "//:node_modules/@angular/router", - "//:node_modules/ng-packagr", + ":node_modules/ng-packagr", "//:node_modules/rxjs", "//:node_modules/tslib", "//:node_modules/typescript", diff --git a/packages/angular/build/package.json b/packages/angular/build/package.json index 77a5743eaa84..24b7b13b7fdf 100644 --- a/packages/angular/build/package.json +++ b/packages/angular/build/package.json @@ -51,7 +51,10 @@ }, "devDependencies": { "@angular/ssr": "workspace:*", - "@angular-devkit/core": "workspace:*" + "@angular-devkit/core": "workspace:*", + "less": "4.2.2", + "ng-packagr": "20.0.0-next.1", + "postcss": "8.5.3" }, "peerDependencies": { "@angular/compiler": "0.0.0-ANGULAR-FW-PEER-DEP", diff --git a/packages/angular/pwa/BUILD.bazel b/packages/angular/pwa/BUILD.bazel index 1e0355fe015c..ae0131acbb1f 100644 --- a/packages/angular/pwa/BUILD.bazel +++ b/packages/angular/pwa/BUILD.bazel @@ -36,8 +36,8 @@ ts_project( deps = [ ":node_modules/@angular-devkit/schematics", ":node_modules/@schematics/angular", + ":node_modules/parse5-html-rewriting-stream", "//:node_modules/@types/node", - "//:node_modules/parse5-html-rewriting-stream", ], ) diff --git a/packages/angular_devkit/build_angular/BUILD.bazel b/packages/angular_devkit/build_angular/BUILD.bazel index 55548ff4b108..7297a03b4264 100644 --- a/packages/angular_devkit/build_angular/BUILD.bazel +++ b/packages/angular_devkit/build_angular/BUILD.bazel @@ -129,6 +129,7 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular-devkit/build-angular", deps = [ + ":node_modules/@ampproject/remapping", ":node_modules/@angular-devkit/architect", ":node_modules/@angular-devkit/build-webpack", ":node_modules/@angular-devkit/core", @@ -151,17 +152,21 @@ ts_project( ":node_modules/license-webpack-plugin", ":node_modules/loader-utils", ":node_modules/mini-css-extract-plugin", + ":node_modules/ng-packagr", + ":node_modules/piscina", + ":node_modules/postcss", ":node_modules/postcss-loader", ":node_modules/resolve-url-loader", + ":node_modules/sass", ":node_modules/sass-loader", ":node_modules/source-map-loader", + ":node_modules/source-map-support", ":node_modules/terser", ":node_modules/webpack", ":node_modules/webpack-dev-middleware", ":node_modules/webpack-dev-server", ":node_modules/webpack-merge", ":node_modules/webpack-subresource-integrity", - "//:node_modules/@ampproject/remapping", "//:node_modules/@angular/common", "//:node_modules/@angular/compiler-cli", "//:node_modules/@angular/core", @@ -193,15 +198,10 @@ ts_project( "//:node_modules/istanbul-lib-instrument", "//:node_modules/karma", "//:node_modules/karma-source-map-support", - "//:node_modules/ng-packagr", "//:node_modules/open", "//:node_modules/ora", - "//:node_modules/piscina", - "//:node_modules/postcss", "//:node_modules/rxjs", - "//:node_modules/sass", "//:node_modules/semver", - "//:node_modules/source-map-support", "//:node_modules/tree-kill", "//:node_modules/tslib", "//:node_modules/typescript", diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index 573444d7c74e..897256b6876f 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -66,8 +66,9 @@ "esbuild": "0.25.1" }, "devDependencies": { - "undici": "7.5.0", - "@angular/ssr": "workspace:*" + "@angular/ssr": "workspace:*", + "ng-packagr": "20.0.0-next.1", + "undici": "7.5.0" }, "peerDependencies": { "@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP", diff --git a/packages/angular_devkit/schematics/BUILD.bazel b/packages/angular_devkit/schematics/BUILD.bazel index 43ea9318f7bb..878a20442373 100644 --- a/packages/angular_devkit/schematics/BUILD.bazel +++ b/packages/angular_devkit/schematics/BUILD.bazel @@ -29,8 +29,8 @@ ts_project( deps = [ ":node_modules/@angular-devkit/core", ":node_modules/jsonc-parser", + ":node_modules/magic-string", "//:node_modules/@types/node", - "//:node_modules/magic-string", "//:node_modules/rxjs", ], ) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e815d7c1df5b..0159672ca741 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,9 +14,6 @@ importers: .: devDependencies: - '@ampproject/remapping': - specifier: 2.3.0 - version: 2.3.0 '@angular/animations': specifier: 20.0.0-next.2 version: 20.0.0-next.2(@angular/[email protected]) @@ -278,27 +275,12 @@ importers: karma-source-map-support: specifier: 1.4.0 version: 1.4.0 - less: - specifier: 4.2.2 - version: 4.2.2 listr2: specifier: 8.2.5 version: 8.2.5 - lmdb: - specifier: 3.2.6 - version: 3.2.6 lodash: specifier: ^4.17.21 version: 4.17.21 - magic-string: - specifier: 0.30.17 - version: 0.30.17 - mrmime: - specifier: 2.0.1 - version: 2.0.1 - ng-packagr: - specifier: 20.0.0-next.1 - version: 20.0.0-next.1(@angular/[email protected](@angular/[email protected])([email protected]))([email protected])([email protected]) npm: specifier: ^11.0.0 version: 11.2.0 @@ -308,15 +290,6 @@ importers: ora: specifier: 5.4.1 version: 5.4.1 - parse5-html-rewriting-stream: - specifier: 7.0.0 - version: 7.0.0 - piscina: - specifier: 4.9.0 - version: 4.9.0 - postcss: - specifier: 8.5.3 - version: 8.5.3 prettier: specifier: ^3.0.0 version: 3.5.3 @@ -341,9 +314,6 @@ importers: rxjs: specifier: 7.8.2 version: 7.8.2 - sass: - specifier: 1.85.1 - version: 1.85.1 semver: specifier: 7.7.1 version: 7.7.1 @@ -359,9 +329,6 @@ importers: tar: specifier: ^7.0.0 version: 7.4.3 - tinyglobby: - specifier: 0.2.12 - version: 0.2.12 tree-kill: specifier: 1.2.2 version: 1.2.2 @@ -386,9 +353,6 @@ importers: verdaccio-auth-memory: specifier: ^10.0.0 version: 10.2.2 - watchpack: - specifier: 2.4.2 - version: 2.4.2 yargs-parser: specifier: 21.1.1 version: 21.1.1 @@ -510,6 +474,15 @@ importers: '@angular/ssr': specifier: workspace:* version: link:../ssr + less: + specifier: 4.2.2 + version: 4.2.2 + ng-packagr: + specifier: 20.0.0-next.1 + version: 20.0.0-next.1(@angular/[email protected](@angular/[email protected])([email protected]))([email protected])([email protected]) + postcss: + specifier: 8.5.3 + version: 8.5.3 packages/angular/cli: dependencies: @@ -817,6 +790,9 @@ importers: '@angular/ssr': specifier: workspace:* version: link:../../angular/ssr + ng-packagr: + specifier: 20.0.0-next.1 + version: 20.0.0-next.1(@angular/[email protected](@angular/[email protected])([email protected]))([email protected])([email protected]) undici: specifier: 7.5.0 version: 7.5.0 @@ -11636,7 +11612,8 @@ snapshots: [email protected]: optional: true - [email protected]: {} + [email protected]: + optional: true [email protected]: {} @@ -13457,6 +13434,7 @@ snapshots: '@lmdb/lmdb-linux-arm64': 3.2.6 '@lmdb/lmdb-linux-x64': 3.2.6 '@lmdb/lmdb-win32-x64': 3.2.6 + optional: true [email protected]: {} @@ -13737,6 +13715,7 @@ snapshots: [email protected]: optionalDependencies: msgpackr-extract: 3.0.3 + optional: true [email protected]: dependencies: @@ -13799,7 +13778,8 @@ snapshots: [email protected]: {} - [email protected]: {} + [email protected]: + optional: true [email protected]: optional: true @@ -13831,6 +13811,7 @@ snapshots: [email protected]: dependencies: detect-libc: 2.0.3 + optional: true [email protected]: dependencies: @@ -14017,7 +13998,8 @@ snapshots: strip-ansi: 6.0.1 wcwidth: 1.0.1 - [email protected]: {} + [email protected]: + optional: true [email protected]: {} @@ -15773,7 +15755,8 @@ snapshots: dependencies: defaults: 1.0.4 - [email protected]: {} + [email protected]: + optional: true [email protected]: {}
44f8081754b895fdd7d670b1a21714899b6e8553
2024-10-14 14:34:59
Alan Agius
ci: disable auto-updates for `@types/express`
false
disable auto-updates for `@types/express`
ci
diff --git a/renovate.json b/renovate.json index d1dc573ec1d7..1815a2a98faf 100644 --- a/renovate.json +++ b/renovate.json @@ -12,7 +12,7 @@ "dependencyDashboard": true, "schedule": ["after 10:00pm every weekday", "before 4:00am every weekday", "every weekend"], "baseBranches": ["main"], - "ignoreDeps": ["@types/node", "build_bazel_rules_nodejs", "rules_pkg", "yarn"], + "ignoreDeps": ["@types/node", "@types/express", "build_bazel_rules_nodejs", "rules_pkg", "yarn"], "includePaths": [ "WORKSPACE", "package.json",
307eda17e669c3edc9e7cd5603eca1b59828a267
2024-12-19 12:45:18
Alan Agius
test: disable WTR e2e test
false
disable WTR e2e test
test
diff --git a/tests/legacy-cli/e2e/tests/web-test-runner/basic.ts b/tests/legacy-cli/e2e/tests/web-test-runner/basic.ts index 2067e382b6d9..4985f872fb18 100644 --- a/tests/legacy-cli/e2e/tests/web-test-runner/basic.ts +++ b/tests/legacy-cli/e2e/tests/web-test-runner/basic.ts @@ -2,6 +2,9 @@ import { noSilentNg } from '../../utils/process'; import { applyWtrBuilder } from '../../utils/web-test-runner'; export default async function () { + // Temporary disabled due to failure. + return; + await applyWtrBuilder(); const { stderr } = await noSilentNg('test');
6bebc457769846ecbc0fc84a630969c64715948a
2023-06-09 20:28:23
Alan Agius
refactor: move esbuild index generator, code bundle option and execution results
false
move esbuild index generator, code bundle option and execution results
refactor
diff --git a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts index 63e6e471f65b..30749522ea73 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts @@ -7,96 +7,36 @@ */ import { BuilderContext, BuilderOutput, createBuilder } from '@angular-devkit/architect'; -import type { BuildOptions, OutputFile } from 'esbuild'; +import type { OutputFile } from 'esbuild'; import fs from 'node:fs/promises'; import path from 'node:path'; -import { SourceFileCache, createCompilerPlugin } from '../../tools/esbuild/angular/compiler-plugin'; +import { SourceFileCache } from '../../tools/esbuild/angular/compiler-plugin'; +import { createCodeBundleOptions } from '../../tools/esbuild/application-code-bundle'; import { BundlerContext } from '../../tools/esbuild/bundler-context'; +import { ExecutionResult, RebuildState } from '../../tools/esbuild/bundler-execution-result'; import { checkCommonJSModules } from '../../tools/esbuild/commonjs-checker'; -import { createExternalPackagesPlugin } from '../../tools/esbuild/external-packages-plugin'; import { createGlobalScriptsBundleOptions } from '../../tools/esbuild/global-scripts'; import { createGlobalStylesBundleOptions } from '../../tools/esbuild/global-styles'; +import { generateIndexHtml } from '../../tools/esbuild/index-html-generator'; import { extractLicenses } from '../../tools/esbuild/license-extractor'; -import { createSourcemapIngorelistPlugin } from '../../tools/esbuild/sourcemap-ignorelist-plugin'; import { shutdownSassWorkerPool } from '../../tools/esbuild/stylesheets/sass-language'; import { calculateEstimatedTransferSizes, - createOutputFileFromText, - getFeatureSupport, logBuildStats, logMessages, withNoProgress, withSpinner, writeResultFiles, } from '../../tools/esbuild/utils'; -import { createVirtualModulePlugin } from '../../tools/esbuild/virtual-module-plugin'; -import type { ChangedFiles } from '../../tools/esbuild/watcher'; import { copyAssets } from '../../utils/copy-assets'; import { assertIsError } from '../../utils/error'; import { transformSupportedBrowsersToTargets } from '../../utils/esbuild-targets'; -import { IndexHtmlGenerator } from '../../utils/index-file/index-html-generator'; import { augmentAppWithServiceWorkerEsbuild } from '../../utils/service-worker'; import { getSupportedBrowsers } from '../../utils/supported-browsers'; import { logBuilderStatusWarnings } from './builder-status-warnings'; import { BrowserEsbuildOptions, NormalizedBrowserOptions, normalizeOptions } from './options'; import { Schema as BrowserBuilderOptions } from './schema'; -interface RebuildState { - rebuildContexts: BundlerContext[]; - codeBundleCache?: SourceFileCache; - fileChanges: ChangedFiles; -} - -/** - * Represents the result of a single builder execute call. - */ -class ExecutionResult { - readonly outputFiles: OutputFile[] = []; - readonly assetFiles: { source: string; destination: string }[] = []; - - constructor( - private rebuildContexts: BundlerContext[], - private codeBundleCache?: SourceFileCache, - ) {} - - addOutputFile(path: string, content: string): void { - this.outputFiles.push(createOutputFileFromText(path, content)); - } - - get output() { - return { - success: this.outputFiles.length > 0, - }; - } - - get outputWithFiles() { - return { - success: this.outputFiles.length > 0, - outputFiles: this.outputFiles, - assetFiles: this.assetFiles, - }; - } - - get watchFiles() { - return this.codeBundleCache?.referencedFiles ?? []; - } - - createRebuildState(fileChanges: ChangedFiles): RebuildState { - this.codeBundleCache?.invalidate([...fileChanges.modified, ...fileChanges.removed]); - - return { - rebuildContexts: this.rebuildContexts, - codeBundleCache: this.codeBundleCache, - fileChanges, - }; - } - - async dispose(): Promise<void> { - await Promise.allSettled(this.rebuildContexts.map((context) => context.dispose())); - } -} - -// eslint-disable-next-line max-lines-per-function async function execute( options: NormalizedBrowserOptions, context: BuilderContext, @@ -189,58 +129,11 @@ async function execute( // Generate index HTML file if (indexHtmlOptions) { - // Analyze metafile for initial link-based hints. - // Skip if the internal externalPackages option is enabled since this option requires - // dev server cooperation to properly resolve and fetch imports. - const hints = []; - if (!options.externalPackages) { - for (const [key, value] of initialFiles) { - if (value.entrypoint) { - // Entry points are already referenced in the HTML - continue; - } - if (value.type === 'script') { - hints.push({ url: key, mode: 'modulepreload' as const }); - } else if (value.type === 'style') { - hints.push({ url: key, mode: 'preload' as const }); - } - } - } - - // Create an index HTML generator that reads from the in-memory output files - const indexHtmlGenerator = new IndexHtmlGenerator({ - indexPath: indexHtmlOptions.input, - entrypoints: indexHtmlOptions.insertionOrder, - sri: options.subresourceIntegrity, - optimization: optimizationOptions, - crossOrigin: options.crossOrigin, - }); - - /** Virtual output path to support reading in-memory files. */ - const virtualOutputPath = '/'; - indexHtmlGenerator.readAsset = async function (filePath: string): Promise<string> { - // Remove leading directory separator - const relativefilePath = path.relative(virtualOutputPath, filePath); - const file = executionResult.outputFiles.find((file) => file.path === relativefilePath); - if (file) { - return file.text; - } - - throw new Error(`Output file does not exist: ${path}`); - }; - - const { content, warnings, errors } = await indexHtmlGenerator.process({ - baseHref: options.baseHref, - lang: undefined, - outputPath: virtualOutputPath, - files: [...initialFiles].map(([file, record]) => ({ - name: record.name ?? '', - file, - extension: path.extname(file), - })), - hints, - }); - + const { errors, warnings, content } = await generateIndexHtml( + initialFiles, + executionResult, + options, + ); for (const error of errors) { context.logger.error(error); } @@ -303,131 +196,6 @@ async function execute( return executionResult; } -function createCodeBundleOptions( - options: NormalizedBrowserOptions, - target: string[], - browsers: string[], - sourceFileCache?: SourceFileCache, -): BuildOptions { - const { - workspaceRoot, - entryPoints, - optimizationOptions, - sourcemapOptions, - tsconfig, - outputNames, - outExtension, - fileReplacements, - externalDependencies, - preserveSymlinks, - stylePreprocessorOptions, - advancedOptimizations, - inlineStyleLanguage, - jit, - tailwindConfiguration, - } = options; - - const buildOptions: BuildOptions = { - absWorkingDir: workspaceRoot, - bundle: true, - format: 'esm', - entryPoints, - entryNames: outputNames.bundles, - assetNames: outputNames.media, - target, - supported: getFeatureSupport(target), - mainFields: ['es2020', 'browser', 'module', 'main'], - conditions: ['es2020', 'es2015', 'module'], - resolveExtensions: ['.ts', '.tsx', '.mjs', '.js'], - metafile: true, - legalComments: options.extractLicenses ? 'none' : 'eof', - logLevel: options.verbose ? 'debug' : 'silent', - minify: optimizationOptions.scripts, - pure: ['forwardRef'], - outdir: workspaceRoot, - outExtension: outExtension ? { '.js': `.${outExtension}` } : undefined, - sourcemap: sourcemapOptions.scripts && (sourcemapOptions.hidden ? 'external' : true), - splitting: true, - tsconfig, - external: externalDependencies, - write: false, - platform: 'browser', - preserveSymlinks, - plugins: [ - createSourcemapIngorelistPlugin(), - createCompilerPlugin( - // JS/TS options - { - sourcemap: !!sourcemapOptions.scripts, - thirdPartySourcemaps: sourcemapOptions.vendor, - tsconfig, - jit, - advancedOptimizations, - fileReplacements, - sourceFileCache, - loadResultCache: sourceFileCache?.loadResultCache, - }, - // Component stylesheet options - { - workspaceRoot, - optimization: !!optimizationOptions.styles.minify, - sourcemap: - // Hidden component stylesheet sourcemaps are inaccessible which is effectively - // the same as being disabled. Disabling has the advantage of avoiding the overhead - // of sourcemap processing. - !!sourcemapOptions.styles && (sourcemapOptions.hidden ? false : 'inline'), - outputNames, - includePaths: stylePreprocessorOptions?.includePaths, - externalDependencies, - target, - inlineStyleLanguage, - preserveSymlinks, - browsers, - tailwindConfiguration, - }, - ), - ], - define: { - // Only set to false when script optimizations are enabled. It should not be set to true because - // Angular turns `ngDevMode` into an object for development debugging purposes when not defined - // which a constant true value would break. - ...(optimizationOptions.scripts ? { 'ngDevMode': 'false' } : undefined), - 'ngJitMode': jit ? 'true' : 'false', - }, - }; - - if (options.externalPackages) { - buildOptions.plugins ??= []; - buildOptions.plugins.push(createExternalPackagesPlugin()); - } - - const polyfills = options.polyfills ? [...options.polyfills] : []; - if (jit) { - polyfills.push('@angular/compiler'); - } - - if (polyfills?.length) { - const namespace = 'angular:polyfills'; - buildOptions.entryPoints = { - ...buildOptions.entryPoints, - ['polyfills']: namespace, - }; - - buildOptions.plugins?.unshift( - createVirtualModulePlugin({ - namespace, - loadContent: () => ({ - contents: polyfills.map((file) => `import '${file.replace(/\\/g, '/')}';`).join('\n'), - loader: 'js', - resolveDir: workspaceRoot, - }), - }), - ); - } - - return buildOptions; -} - /** * Main execution function for the esbuild-based application builder. * The options are compatible with the Webpack-based builder. diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts new file mode 100644 index 000000000000..3a06a3bec3a4 --- /dev/null +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts @@ -0,0 +1,140 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import type { BuildOptions } from 'esbuild'; +import { NormalizedBrowserOptions } from '../../builders/browser-esbuild/options'; +import { SourceFileCache, createCompilerPlugin } from '../../tools/esbuild/angular/compiler-plugin'; +import { createExternalPackagesPlugin } from '../../tools/esbuild/external-packages-plugin'; +import { createSourcemapIngorelistPlugin } from '../../tools/esbuild/sourcemap-ignorelist-plugin'; +import { getFeatureSupport } from '../../tools/esbuild/utils'; +import { createVirtualModulePlugin } from '../../tools/esbuild/virtual-module-plugin'; + +export function createCodeBundleOptions( + options: NormalizedBrowserOptions, + target: string[], + browsers: string[], + sourceFileCache?: SourceFileCache, +): BuildOptions { + const { + workspaceRoot, + entryPoints, + optimizationOptions, + sourcemapOptions, + tsconfig, + outputNames, + outExtension, + fileReplacements, + externalDependencies, + preserveSymlinks, + stylePreprocessorOptions, + advancedOptimizations, + inlineStyleLanguage, + jit, + tailwindConfiguration, + } = options; + + const buildOptions: BuildOptions = { + absWorkingDir: workspaceRoot, + bundle: true, + format: 'esm', + entryPoints, + entryNames: outputNames.bundles, + assetNames: outputNames.media, + target, + supported: getFeatureSupport(target), + mainFields: ['es2020', 'browser', 'module', 'main'], + conditions: ['es2020', 'es2015', 'module'], + resolveExtensions: ['.ts', '.tsx', '.mjs', '.js'], + metafile: true, + legalComments: options.extractLicenses ? 'none' : 'eof', + logLevel: options.verbose ? 'debug' : 'silent', + minify: optimizationOptions.scripts, + pure: ['forwardRef'], + outdir: workspaceRoot, + outExtension: outExtension ? { '.js': `.${outExtension}` } : undefined, + sourcemap: sourcemapOptions.scripts && (sourcemapOptions.hidden ? 'external' : true), + splitting: true, + tsconfig, + external: externalDependencies, + write: false, + platform: 'browser', + preserveSymlinks, + plugins: [ + createSourcemapIngorelistPlugin(), + createCompilerPlugin( + // JS/TS options + { + sourcemap: !!sourcemapOptions.scripts, + thirdPartySourcemaps: sourcemapOptions.vendor, + tsconfig, + jit, + advancedOptimizations, + fileReplacements, + sourceFileCache, + loadResultCache: sourceFileCache?.loadResultCache, + }, + // Component stylesheet options + { + workspaceRoot, + optimization: !!optimizationOptions.styles.minify, + sourcemap: + // Hidden component stylesheet sourcemaps are inaccessible which is effectively + // the same as being disabled. Disabling has the advantage of avoiding the overhead + // of sourcemap processing. + !!sourcemapOptions.styles && (sourcemapOptions.hidden ? false : 'inline'), + outputNames, + includePaths: stylePreprocessorOptions?.includePaths, + externalDependencies, + target, + inlineStyleLanguage, + preserveSymlinks, + browsers, + tailwindConfiguration, + }, + ), + ], + define: { + // Only set to false when script optimizations are enabled. It should not be set to true because + // Angular turns `ngDevMode` into an object for development debugging purposes when not defined + // which a constant true value would break. + ...(optimizationOptions.scripts ? { 'ngDevMode': 'false' } : undefined), + 'ngJitMode': jit ? 'true' : 'false', + }, + }; + + if (options.externalPackages) { + buildOptions.plugins ??= []; + buildOptions.plugins.push(createExternalPackagesPlugin()); + } + + const polyfills = options.polyfills ? [...options.polyfills] : []; + if (jit) { + polyfills.push('@angular/compiler'); + } + + if (polyfills?.length) { + const namespace = 'angular:polyfills'; + buildOptions.entryPoints = { + ...buildOptions.entryPoints, + ['polyfills']: namespace, + }; + + buildOptions.plugins?.unshift( + createVirtualModulePlugin({ + namespace, + loadContent: () => ({ + contents: polyfills.map((file) => `import '${file.replace(/\\/g, '/')}';`).join('\n'), + loader: 'js', + resolveDir: workspaceRoot, + }), + }), + ); + } + + return buildOptions; +} diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/bundler-execution-result.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/bundler-execution-result.ts new file mode 100644 index 000000000000..d08ba3fd7209 --- /dev/null +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/bundler-execution-result.ts @@ -0,0 +1,68 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import { OutputFile } from 'esbuild'; +import type { ChangedFiles } from '../../tools/esbuild/watcher'; +import type { SourceFileCache } from './angular/compiler-plugin'; +import type { BundlerContext } from './bundler-context'; +import { createOutputFileFromText } from './utils'; + +export interface RebuildState { + rebuildContexts: BundlerContext[]; + codeBundleCache?: SourceFileCache; + fileChanges: ChangedFiles; +} + +/** + * Represents the result of a single builder execute call. + */ +export class ExecutionResult { + readonly outputFiles: OutputFile[] = []; + readonly assetFiles: { source: string; destination: string }[] = []; + + constructor( + private rebuildContexts: BundlerContext[], + private codeBundleCache?: SourceFileCache, + ) {} + + addOutputFile(path: string, content: string): void { + this.outputFiles.push(createOutputFileFromText(path, content)); + } + + get output() { + return { + success: this.outputFiles.length > 0, + }; + } + + get outputWithFiles() { + return { + success: this.outputFiles.length > 0, + outputFiles: this.outputFiles, + assetFiles: this.assetFiles, + }; + } + + get watchFiles() { + return this.codeBundleCache?.referencedFiles ?? []; + } + + createRebuildState(fileChanges: ChangedFiles): RebuildState { + this.codeBundleCache?.invalidate([...fileChanges.modified, ...fileChanges.removed]); + + return { + rebuildContexts: this.rebuildContexts, + codeBundleCache: this.codeBundleCache, + fileChanges, + }; + } + + async dispose(): Promise<void> { + await Promise.allSettled(this.rebuildContexts.map((context) => context.dispose())); + } +} diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/index-html-generator.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/index-html-generator.ts new file mode 100644 index 000000000000..030723ca359f --- /dev/null +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/index-html-generator.ts @@ -0,0 +1,86 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import assert from 'node:assert'; +import path from 'node:path'; +import { NormalizedBrowserOptions } from '../../builders/browser-esbuild/options'; +import { + IndexHtmlGenerator, + IndexHtmlTransformResult, +} from '../../utils/index-file/index-html-generator'; +import { InitialFileRecord } from './bundler-context'; +import type { ExecutionResult } from './bundler-execution-result'; + +export function generateIndexHtml( + initialFiles: Map<string, InitialFileRecord>, + executionResult: ExecutionResult, + buildOptions: NormalizedBrowserOptions, +): Promise<IndexHtmlTransformResult> { + // Analyze metafile for initial link-based hints. + // Skip if the internal externalPackages option is enabled since this option requires + // dev server cooperation to properly resolve and fetch imports. + const hints = []; + const { + indexHtmlOptions, + externalPackages, + optimizationOptions, + crossOrigin, + subresourceIntegrity, + baseHref, + } = buildOptions; + + assert(indexHtmlOptions, 'indexHtmlOptions cannot be undefined.'); + + if (!externalPackages) { + for (const [key, value] of initialFiles) { + if (value.entrypoint) { + // Entry points are already referenced in the HTML + continue; + } + if (value.type === 'script') { + hints.push({ url: key, mode: 'modulepreload' as const }); + } else if (value.type === 'style') { + hints.push({ url: key, mode: 'preload' as const }); + } + } + } + + // Create an index HTML generator that reads from the in-memory output files + const indexHtmlGenerator = new IndexHtmlGenerator({ + indexPath: indexHtmlOptions.input, + entrypoints: indexHtmlOptions.insertionOrder, + sri: subresourceIntegrity, + optimization: optimizationOptions, + crossOrigin: crossOrigin, + }); + + /** Virtual output path to support reading in-memory files. */ + const virtualOutputPath = '/'; + indexHtmlGenerator.readAsset = async function (filePath: string): Promise<string> { + // Remove leading directory separator + const relativefilePath = path.relative(virtualOutputPath, filePath); + const file = executionResult.outputFiles.find((file) => file.path === relativefilePath); + if (file) { + return file.text; + } + + throw new Error(`Output file does not exist: ${path}`); + }; + + return indexHtmlGenerator.process({ + baseHref, + lang: undefined, + outputPath: virtualOutputPath, + files: [...initialFiles].map(([file, record]) => ({ + name: record.name ?? '', + file, + extension: path.extname(file), + })), + hints, + }); +}
bf18a238d80eba7b70441c03dcc85b7fb1a24ea9
2017-04-25 07:38:41
Hans Larsen
release: 1.0.1
false
1.0.1
release
diff --git a/package.json b/package.json index f26adb3027e0..23cca95cee2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/cli", - "version": "1.0.0", + "version": "1.0.1", "description": "CLI tool for Angular", "main": "packages/@angular/cli/lib/cli/index.js", "trackingCode": "UA-8594346-19", diff --git a/packages/@angular/cli/package.json b/packages/@angular/cli/package.json index 629930c59ef4..5405a4454654 100644 --- a/packages/@angular/cli/package.json +++ b/packages/@angular/cli/package.json @@ -1,6 +1,6 @@ { "name": "@angular/cli", - "version": "1.0.0", + "version": "1.0.1", "description": "CLI tool for Angular", "main": "lib/cli/index.js", "trackingCode": "UA-8594346-19", @@ -27,8 +27,8 @@ }, "homepage": "https://github.com/angular/angular-cli", "dependencies": { - "@ngtools/json-schema": "1.0.5", - "@ngtools/webpack": "1.3.0", + "@ngtools/json-schema": "1.0.9", + "@ngtools/webpack": "1.3.1", "autoprefixer": "^6.5.3", "chalk": "^1.1.3", "common-tags": "^1.3.1", diff --git a/packages/@ngtools/json-schema/package.json b/packages/@ngtools/json-schema/package.json index cb82d8fb7535..3d98eddd51ec 100644 --- a/packages/@ngtools/json-schema/package.json +++ b/packages/@ngtools/json-schema/package.json @@ -1,6 +1,6 @@ { "name": "@ngtools/json-schema", - "version": "1.0.8", + "version": "1.0.9", "description": "Schema validating and reading for configurations, similar to Angular CLI config.", "main": "./src/index.js", "typings": "src/index.d.ts", diff --git a/packages/@ngtools/logger/package.json b/packages/@ngtools/logger/package.json index 1860eca3af18..8a82cadefea7 100644 --- a/packages/@ngtools/logger/package.json +++ b/packages/@ngtools/logger/package.json @@ -1,6 +1,6 @@ { "name": "@ngtools/logger", - "version": "0.1.6", + "version": "1.0.1", "description": "", "main": "./src/index.js", "license": "MIT", diff --git a/packages/@ngtools/webpack/package.json b/packages/@ngtools/webpack/package.json index 5a73b9868a7a..511ad21ee138 100644 --- a/packages/@ngtools/webpack/package.json +++ b/packages/@ngtools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@ngtools/webpack", - "version": "1.3.0", + "version": "1.3.1", "description": "Webpack plugin that AoT compiles your Angular components and modules.", "main": "./src/index.js", "typings": "src/index.d.ts",
ccb5f3f6bbd22a083c8408c652058154a9a47125
2021-10-02 00:38:25
Doug Parker
docs: release notes for the v12.2.8 release
false
release notes for the v12.2.8 release
docs
diff --git a/CHANGELOG.md b/CHANGELOG.md index f6704e5ed486..5f221a5c0851 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +<a name="12.2.8"></a> + +# 12.2.8 (2021-10-01) + +### @angular-devkit/build-angular + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------- | +| [821a1b5a9](https://github.com/angular/angular-cli/commit/821a1b5a949d53f2e82f734062b711a166d42e24) | fix | babel adjust enum plugin incorrectly transforming loose enums | + +## Special Thanks + +Paul Gschwendtner + +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.7"></a> # 13.0.0-next.7 (2021-09-30)
cec218bb6a7d8feddee477c2a6eb9b960b508b76
2016-04-18 10:05:55
gdi2290
refactor(universal): prebootCompleted once
false
prebootCompleted once
refactor
diff --git a/modules/universal/src/browser/bootstrap.ts b/modules/universal/src/browser/bootstrap.ts index 33f54176a54d..624edefdd8cb 100644 --- a/modules/universal/src/browser/bootstrap.ts +++ b/modules/universal/src/browser/bootstrap.ts @@ -3,8 +3,10 @@ import {Provider} from 'angular2/core'; import {bootstrap as bootstrapClient} from 'angular2/platform/browser'; import {ComponentRef} from 'angular2/src/core/linker/dynamic_component_loader'; +var prebootCompleted = false; + export function prebootComplete(value?: any) { - if ('preboot' in window) { + if ('preboot' in window && !prebootCompleted) { (<any>window).preboot.complete(); } return value; @@ -17,7 +19,3 @@ export function bootstrap(appComponentType: /*Type*/ any, return bootstrapClient(appComponentType, appProviders) .then(prebootComplete); } - - - -
5876ad0f8e4e04790d8ba5c7dc745fdeaaf460d2
2022-02-07 21:37:08
Alan Agius
ci: group all scorecard action dependencies
false
group all scorecard action dependencies
ci
diff --git a/renovate.json b/renovate.json index 30257c20ca2b..61a2a81d5b4f 100644 --- a/renovate.json +++ b/renovate.json @@ -66,6 +66,14 @@ "groupName": "all non-major dependencies", "groupSlug": "all-minor-patch", "schedule": ["after 1am on Thursday"] + }, + { + "matchPaths": [ + ".github/workflows/scorecard.yml" + ], + "matchPackagePatterns": ["*"], + "groupName": "scorecard action dependencies", + "groupSlug": "scorecard-action" } ] }
dca420e4bf4cd8de55328a98583c804004f9a8c4
2016-09-06 06:00:15
PatrickJS
feat(platform-node): NodeDomEventsPlugin and NodeEventManager
false
NodeDomEventsPlugin and NodeEventManager
feat
diff --git a/modules/platform-node/node-platform.ts b/modules/platform-node/node-platform.ts index 460e974055ba..50cebddb1570 100644 --- a/modules/platform-node/node-platform.ts +++ b/modules/platform-node/node-platform.ts @@ -50,6 +50,8 @@ import { NgModule, Optional, SkipSelf, + Injectable, + Inject, ComponentRef, ApplicationRef, PlatformRef, @@ -365,53 +367,109 @@ export class NodePlatform implements PlatformRef { } +interface EventManagerPlugin { + manager: EventManager | NodeEventManager; + supports(eventName: string): boolean; + addEventListener(element: any/*HTMLElement*/, eventName: string, handler: Function): any; + addGlobalEventListener(element: string, eventName: string, handler: Function): any; +} + +// TODO(gdi2290): refactor into a new file +@Injectable() +class NodeEventManager { + private _plugins: EventManagerPlugin[]; + + constructor( + @Inject(EVENT_MANAGER_PLUGINS) plugins: EventManagerPlugin[], + @Inject(DOCUMENT) private _document: any, + private _zone: NgZone) { + this._plugins = plugins.map(p => p.manager = this).reverse(); + } + getWindow() { return this._document._window; } + getDocument() { return this._document; } + + addEventListener(element: any /*HTMLElement*/, eventName: string, handler: Function): Function { + var plugin = this._findPluginFor(eventName); + return plugin.addEventListener(element, eventName, handler); + } + + addGlobalEventListener(target: string, eventName: string, handler: Function): Function { + var plugin = this._findPluginFor(eventName); + return plugin.addGlobalEventListener(target, eventName, handler); + } + + getZone(): NgZone { return this._zone; } + + /** @internal */ + _findPluginFor(eventName: string): EventManagerPlugin { + var plugins = this._plugins; + for (var i = 0; i < plugins.length; i++) { + var plugin = plugins[i]; + if (plugin.supports(eventName)) { + return plugin; + } + } + throw new Error(`No event manager plugin found for event ${eventName}`); + } +} +// TODO(gdi2290): refactor into a new file +@Injectable() +class NodeDomEventsPlugin { + manager: NodeEventManager; + // This plugin should come last in the list of plugins, because it accepts all + // events. + supports(eventName: string): boolean { return true; } + + addEventListener(element: HTMLElement, eventName: string, handler: Function): Function { + var zone = this.manager.getZone(); + var outsideHandler = (event: any /** TODO #9100 */) => zone.runGuarded(() => handler(event)); + return this.manager.getZone().runOutsideAngular(() => { + return getDOM().onAndCancel(element, eventName, outsideHandler) + }); + } -// @NgModule({ -// providers: [ -// ApplicationRef_, -// {provide: ApplicationRef, useExisting: ApplicationRef_}, -// ApplicationInitStatus, -// Compiler, -// APP_ID_RANDOM_PROVIDER, -// ViewUtils, -// {provide: IterableDiffers, useFactory: _iterableDiffersFactory}, -// {provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory}, -// {provide: LOCALE_ID, useValue: 'en-US'}, -// ] -// }) -// export class UniversalApplicationModule { -// } - -// export class UniversalViewUtils extends ViewUtils { -// constructor() { - -// } -// createRenderComponentType( -// templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, -// styles: Array<string|any[]>, animations: {[key: string]: Function}): RenderComponentType { -// return new RenderComponentType( -// `${this._appId}-${this._nextCompTypeId++}`, templateUrl, slotCount, encapsulation, styles, -// animations); -// } -// } + addGlobalEventListener(target: string, eventName: string, handler: Function): Function { + var window = this.manager.getWindow(); + var document = this.manager.getDocument(); + var zone = this.manager.getZone(); + var element;// = getDOM().getGlobalEventTargetWithDocument(target, window, document, document.body); + switch(target) { + case 'window': + element = document._window; + break; + case 'document': + element = document; + break; + case 'body': + element = document.body; + break; + } + var outsideHandler = (event: any /** TODO #9100 */) => zone.runGuarded(() => handler(event)); + return this.manager.getZone().runOutsideAngular(() => { + return getDOM().onAndCancel(element, eventName, outsideHandler) + }); + } +} @NgModule({ providers: [ BROWSER_SANITIZATION_PROVIDERS, { provide: ErrorHandler, useFactory: _errorHandler, deps: [] }, // { provide: DOCUMENT, useFactory: _document, deps: [] }, - - // TOdO(gdi2290): NodeDomEventsPlugin - { provide: EVENT_MANAGER_PLUGINS, useClass: DomEventsPlugin, multi: true }, + NodeDomEventsPlugin, + { provide: DomEventsPlugin, useExisting: NodeDomEventsPlugin, multi: true }, + { provide: EVENT_MANAGER_PLUGINS, useExisting: NodeDomEventsPlugin, multi: true }, { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true }, // { provide: EVENT_MANAGER_PLUGINS, useClass: HammerGesturesPlugin, multi: true }, // { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig }, + NodeEventManager, + { provide: EventManager, useExisting: NodeEventManager }, + { provide: AnimationDriver, useFactory: _resolveDefaultAnimationDriver }, Testability, - EventManager, // ELEMENT_PROBE_PROVIDERS, NodeDomRootRenderer, diff --git a/modules/platform-node/parse5-adapter.ts b/modules/platform-node/parse5-adapter.ts index 2885551a7f30..bf157bef9c10 100644 --- a/modules/platform-node/parse5-adapter.ts +++ b/modules/platform-node/parse5-adapter.ts @@ -505,6 +505,7 @@ export class Parse5DomAdapter extends DomAdapter { return this.isTemplateElement(el) ? this.content(el) : el; } createHtmlDocument(): any { /* Document */ + // TODO(gdi2290): move node-document to here var newDoc = treeAdapter.createDocument(); newDoc.title = 'fake title'; var head = treeAdapter.createElement('head', null, []); @@ -521,6 +522,7 @@ export class Parse5DomAdapter extends DomAdapter { // if (defDoc === null) { // defDoc = this.createHtmlDocument(); // } + // TODO() return {documentMode: false}; } // UNIVERSAL FIX @@ -533,6 +535,7 @@ export class Parse5DomAdapter extends DomAdapter { // return this.defaultDoc().title || ''; } // UNIVERSAL FIX + // UNIVERSAL FIX setTitle(newTitle: string) { throw _notImplemented('setTitle'); @@ -598,14 +601,6 @@ export class Parse5DomAdapter extends DomAdapter { supportsDOMEvents(): boolean { return false; } supportsNativeShadowDOM(): boolean { return false; } // UNIVERSAL FIX - getGlobalEventTargetWithDocument(target: string, window; any, document: any, body; any) { - switch(target) { - case 'window': return window; - case 'document': return document; - case 'body': return body; - } - } - // UNIVERSAL FIX getGlobalEventTarget(target: string): any { throw _notImplemented('getGlobalEventTarget'); } @@ -649,6 +644,7 @@ export class Parse5DomAdapter extends DomAdapter { replaceChild(el: any, newNode: any, oldNode: any) { throw _notImplemented('replaceChild'); } + // TODO(gdi2290): move node-document to here parse(templateHtml: string) { throw _notImplemented('Parse5DomAdapter#parse'); }
e90979fb59d48b5124829e1354f4e0bc524233f1
2016-04-18 05:31:42
PatrickJS
fix(index): correct server path
false
correct server path
fix
diff --git a/index.js b/index.js index 4c31b18c9ca5..96f1ccfee84b 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,3 @@ // Set up ts-node to enable loading of TypeScript files. require('ts-node/register'); -module.exports = require('./examples/server.ts'); +module.exports = require('./examples/src/server.ts');
f696c72450467caabf0b983048cba22b29503cc1
2019-11-27 02:41:41
Renovate Bot
build: update caniuse-lite to version 1.0.30001012
false
update caniuse-lite to version 1.0.30001012
build
diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index a6ba6a7c6166..f3636bdba9b1 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -20,7 +20,7 @@ "babel-loader": "8.0.6", "browserslist": "4.7.3", "cacache": "13.0.1", - "caniuse-lite": "1.0.30001011", + "caniuse-lite": "1.0.30001012", "circular-dependency-plugin": "5.2.0", "clean-css": "4.2.1", "copy-webpack-plugin": "5.0.5", diff --git a/yarn.lock b/yarn.lock index c9d5d6cccc1a..eed423e8b378 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2784,10 +2784,10 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== [email protected]: - version "1.0.30001011" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001011.tgz#0d6c4549c78c4a800bb043a83ca0cbe0aee6c6e1" - integrity sha512-h+Eqyn/YA6o6ZTqpS86PyRmNWOs1r54EBDcd2NTwwfsXQ8re1B38SnB+p2RKF8OUsyEIjeDU8XGec1RGO/wYCg== [email protected]: + version "1.0.30001012" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001012.tgz#653ec635e815b9e0fb801890923b0c2079eb34ec" + integrity sha512-7RR4Uh04t9K1uYRWzOJmzplgEOAXbfK72oVNokCdMzA67trrhPzy93ahKk1AWHiA0c58tD2P+NHqxrA8FZ+Trg== caniuse-lite@^1.0.30001004, caniuse-lite@^1.0.30001006: version "1.0.30001008"
7f0dd302f029b14c1a6562aa26384757567c6d78
2024-09-05 01:28:12
Charles Lyding
docs: release notes for the v18.2.3 release
false
release notes for the v18.2.3 release
docs
diff --git a/CHANGELOG.md b/CHANGELOG.md index 40222f23aeca..078d202c84d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +<a name="18.2.3"></a> + +# 18.2.3 (2024-09-04) + +### @angular-devkit/build-angular + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------ | +| [482076612](https://github.com/angular/angular-cli/commit/482076612cac4b6565fc1b5e89ff9ca207653f87) | fix | update `webpack-dev-middleware` to `7.4.2` | + +<!-- CHANGELOG SPLIT MARKER --> + <a name="18.2.2"></a> # 18.2.2 (2024-08-29)
1831c76c9d26ae5eafbd2731584b2999eb407f67
2022-09-06 21:05:08
Alan Agius
build: update web-driver and puppeteer
false
update web-driver and puppeteer
build
diff --git a/package.json b/package.json index a9db429e0f70..474f340ce998 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "validate": "node ./bin/devkit-admin validate", "postinstall": "yarn webdriver-update && yarn husky install", "//webdriver-update-README": "ChromeDriver version must match Puppeteer Chromium version, see https://github.com/GoogleChrome/puppeteer/releases http://chromedriver.chromium.org/downloads", - "webdriver-update": "webdriver-manager update --standalone false --gecko false --versions.chrome 104.0.5112.79", + "webdriver-update": "webdriver-manager update --standalone false --gecko false --versions.chrome 106.0.5249.21", "public-api:check": "node goldens/public-api/manage.js test", "public-api:update": "node goldens/public-api/manage.js accept", "ts-circular-deps:check": "yarn -s ng-dev ts-circular-deps check --config ./packages/circular-deps-test.conf.js", @@ -191,7 +191,7 @@ "postcss-preset-env": "7.8.0", "prettier": "^2.0.0", "protractor": "~7.0.0", - "puppeteer": "17.0.0", + "puppeteer": "17.1.0", "quicktype-core": "6.0.69", "regenerator-runtime": "0.13.9", "resolve-url-loader": "5.0.0", diff --git a/yarn.lock b/yarn.lock index c8d5adaa4f35..4885d1a3db69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -129,7 +129,6 @@ "@angular/build-tooling@https://github.com/angular/dev-infra-private-build-tooling-builds.git#1ef843fcf4880c4881a2db7f925c10fa860002ae": version "0.0.0-3238f034456be0ac0fbc94a3333b4ba82a8cbacf" - uid "1ef843fcf4880c4881a2db7f925c10fa860002ae" resolved "https://github.com/angular/dev-infra-private-build-tooling-builds.git#1ef843fcf4880c4881a2db7f925c10fa860002ae" dependencies: "@angular-devkit/build-angular" "14.2.0-rc.0" @@ -243,7 +242,6 @@ "@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#bc4f1f64acf0ff18f7eab7748e1844260c6530fc": version "0.0.0-3238f034456be0ac0fbc94a3333b4ba82a8cbacf" - uid bc4f1f64acf0ff18f7eab7748e1844260c6530fc resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#bc4f1f64acf0ff18f7eab7748e1844260c6530fc" dependencies: "@yarnpkg/lockfile" "^1.1.0" @@ -4378,10 +4376,10 @@ dev-ip@^1.0.1: resolved "https://registry.yarnpkg.com/dev-ip/-/dev-ip-1.0.1.tgz#a76a3ed1855be7a012bb8ac16cb80f3c00dc28f0" integrity sha512-LmVkry/oDShEgSZPNgqCIp2/TlqtExeGmymru3uCELnfyjY11IzpAproLYs+1X88fXO6DBoYP3ul2Xo2yz2j6A== [email protected]: - version "0.0.1019158" - resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1019158.tgz#4b08d06108a784a2134313149626ba55f030a86f" - integrity sha512-wvq+KscQ7/6spEV7czhnZc9RM/woz1AY+/Vpd8/h2HFMwJSdTliu7f/yr1A6vDdJfKICZsShqsYpEQbdhg8AFQ== [email protected]: + version "0.0.1036444" + resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1036444.tgz#a570d3cdde61527c82f9b03919847b8ac7b1c2b9" + integrity sha512-0y4f/T8H9lsESV9kKP1HDUXgHxCdniFeJh6Erq+FbdOEvp/Ydp9t8kcAAM5gOd17pMrTDlFWntoHtzzeTUWKNw== dezalgo@^1.0.0: version "1.0.4" @@ -9222,14 +9220,14 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== [email protected]: - version "17.0.0" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-17.0.0.tgz#85fea801a7b8b8c9e2913b1491e98c867be49a6b" - integrity sha512-T2rdzlPxnPezF218kywFP3O+0YI5/8Kl8riNUicGb+KuMyDTrqRjhSOSDp6coQ1T4QYPBARTFp4EMBepMOzAQA== [email protected]: + version "17.1.0" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-17.1.0.tgz#27dfc629092a5ac1b6f6c30ec200c4147af2847c" + integrity sha512-cPBHruFaUGNTekw0I8P6vBY4sV9gFyh3WjDDv0UzlwSSRQVSl+igcuPVqa7NKDjKccki9X1nVn6HalIqBoJz6g== dependencies: cross-fetch "3.1.5" debug "4.3.4" - devtools-protocol "0.0.1019158" + devtools-protocol "0.0.1036444" extract-zip "2.0.1" https-proxy-agent "5.0.1" progress "2.0.3" @@ -9811,7 +9809,6 @@ sass@^1.49.9: "sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz": version "0.0.0" - uid e5d7f82ad98251a653d1b0537f1103e49eda5e11 resolved "https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz#e5d7f82ad98251a653d1b0537f1103e49eda5e11" saucelabs@^1.5.0:
ee1a95f0ca95209fa6e99c426fbb0d2d8b825d63
2016-09-12 14:47:28
PatrickJS
style(example): clean up
false
clean up
style
diff --git a/examples/hello-world/src/server-express.ts b/examples/hello-world/src/server-express.ts index dc37ceeb3225..0e718b3c302c 100644 --- a/examples/hello-world/src/server-express.ts +++ b/examples/hello-world/src/server-express.ts @@ -15,8 +15,6 @@ enableProdMode(); // import { expressEngine } from '@angular/express-engine'; // import { replaceUniversalAppIf, transformDocument, UNIVERSAL_APP_ID, nodePlatform } from '@angular/universal'; // nodePlatform(); - -import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; // enable prod for faster renders const app = express();
a5f1b918fdbc64b8007fd329e014fe1b16260cb3
2024-06-28 18:29:12
Charles Lyding
refactor(@angular/build): add experimental chunk optimizer for production application builds
false
add experimental chunk optimizer for production application builds
refactor
diff --git a/package.json b/package.json index 2f95258383de..918e201f708a 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "puppeteer": "18.2.1", "quicktype-core": "23.0.170", "resolve-url-loader": "5.0.0", - "rollup": "~4.18.0", + "rollup": "4.18.0", "rollup-plugin-sourcemaps": "^0.6.0", "rxjs": "7.8.1", "sass": "1.77.6", diff --git a/packages/angular/build/BUILD.bazel b/packages/angular/build/BUILD.bazel index 829d86e44c48..9c337ffa1675 100644 --- a/packages/angular/build/BUILD.bazel +++ b/packages/angular/build/BUILD.bazel @@ -89,6 +89,7 @@ ts_library( "@npm//picomatch", "@npm//piscina", "@npm//postcss", + "@npm//rollup", "@npm//sass", "@npm//semver", "@npm//tslib", diff --git a/packages/angular/build/package.json b/packages/angular/build/package.json index 8f352e5dbfc4..e268a88564c6 100644 --- a/packages/angular/build/package.json +++ b/packages/angular/build/package.json @@ -38,6 +38,7 @@ "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", "piscina": "4.6.1", + "rollup": "4.18.0", "sass": "1.77.6", "semver": "7.6.2", "undici": "6.19.2", diff --git a/packages/angular/build/src/builders/application/chunk-optimizer.ts b/packages/angular/build/src/builders/application/chunk-optimizer.ts new file mode 100644 index 000000000000..ab19f5757b6c --- /dev/null +++ b/packages/angular/build/src/builders/application/chunk-optimizer.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +import assert from 'node:assert'; +import { rollup } from 'rollup'; +import { + BuildOutputFile, + BuildOutputFileType, + BundleContextResult, + InitialFileRecord, +} from '../../tools/esbuild/bundler-context'; +import { createOutputFile } from '../../tools/esbuild/utils'; +import { assertIsError } from '../../utils/error'; + +export async function optimizeChunks( + original: BundleContextResult, + sourcemap: boolean | 'hidden', +): Promise<BundleContextResult> { + // Failed builds cannot be optimized + if (original.errors) { + return original; + } + + // Find the main browser entrypoint + let mainFile; + for (const [file, record] of original.initialFiles) { + if ( + record.name === 'main' && + record.entrypoint && + !record.serverFile && + record.type === 'script' + ) { + mainFile = file; + break; + } + } + + // No action required if no browser main entrypoint + if (!mainFile) { + return original; + } + + const chunks: Record<string, BuildOutputFile> = {}; + const maps: Record<string, BuildOutputFile> = {}; + for (const originalFile of original.outputFiles) { + if (originalFile.type !== BuildOutputFileType.Browser) { + continue; + } + + if (originalFile.path.endsWith('.js')) { + chunks[originalFile.path] = originalFile; + } else if (originalFile.path.endsWith('.js.map')) { + // Create mapping of JS file to sourcemap content + maps[originalFile.path.slice(0, -4)] = originalFile; + } + } + + const usedChunks = new Set<string>(); + + let bundle; + let optimizedOutput; + try { + bundle = await rollup({ + input: mainFile, + plugins: [ + { + name: 'angular-bundle', + resolveId(source) { + // Remove leading `./` if present + const file = source[0] === '.' && source[1] === '/' ? source.slice(2) : source; + + if (chunks[file]) { + return file; + } + + // All other identifiers are considered external to maintain behavior + return { id: source, external: true }; + }, + load(id) { + assert( + chunks[id], + `Angular chunk content should always be present in chunk optimizer [${id}].`, + ); + + usedChunks.add(id); + + const result = { + code: chunks[id].text, + map: maps[id]?.text, + }; + + return result; + }, + }, + ], + }); + + const result = await bundle.generate({ + compact: true, + sourcemap, + chunkFileNames(chunkInfo) { + // Do not add hash to file name if already present + return /-[a-zA-Z0-9]{8}$/.test(chunkInfo.name) ? '[name].js' : '[name]-[hash].js'; + }, + }); + optimizedOutput = result.output; + } catch (e) { + assertIsError(e); + + return { + errors: [ + // Most of these fields are not actually needed for printing the error + { + id: '', + text: 'Chunk optimization failed', + detail: undefined, + pluginName: '', + location: null, + notes: [ + { + text: e.message, + location: null, + }, + ], + }, + ], + warnings: original.warnings, + }; + } finally { + await bundle?.close(); + } + + // Remove used chunks and associated sourcemaps from the original result + original.outputFiles = original.outputFiles.filter( + (file) => + !usedChunks.has(file.path) && + !(file.path.endsWith('.map') && usedChunks.has(file.path.slice(0, -4))), + ); + + // Add new optimized chunks + const importsPerFile: Record<string, string[]> = {}; + for (const optimizedFile of optimizedOutput) { + if (optimizedFile.type !== 'chunk') { + continue; + } + + importsPerFile[optimizedFile.fileName] = optimizedFile.imports; + + original.outputFiles.push( + createOutputFile(optimizedFile.fileName, optimizedFile.code, BuildOutputFileType.Browser), + ); + if (optimizedFile.map && optimizedFile.sourcemapFileName) { + original.outputFiles.push( + createOutputFile( + optimizedFile.sourcemapFileName, + optimizedFile.map.toString(), + BuildOutputFileType.Browser, + ), + ); + } + } + + // Update initial files to reflect optimized chunks + const entriesToAnalyze: [string, InitialFileRecord][] = []; + for (const usedFile of usedChunks) { + // Leave the main file since its information did not change + if (usedFile === mainFile) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + entriesToAnalyze.push([mainFile, original.initialFiles.get(mainFile)!]); + continue; + } + + // Remove all other used chunks + original.initialFiles.delete(usedFile); + } + + // Analyze for transitive initial files + let currentEntry; + while ((currentEntry = entriesToAnalyze.pop())) { + const [entryPath, entryRecord] = currentEntry; + + for (const importPath of importsPerFile[entryPath]) { + const existingRecord = original.initialFiles.get(importPath); + if (existingRecord) { + // Store the smallest value depth + if (existingRecord.depth > entryRecord.depth + 1) { + existingRecord.depth = entryRecord.depth + 1; + } + + continue; + } + + const record: InitialFileRecord = { + type: 'script', + entrypoint: false, + external: false, + serverFile: false, + depth: entryRecord.depth + 1, + }; + + entriesToAnalyze.push([importPath, record]); + } + } + + return original; +} diff --git a/packages/angular/build/src/builders/application/execute-build.ts b/packages/angular/build/src/builders/application/execute-build.ts index 5bb6ace1cc02..08f3934e28d1 100644 --- a/packages/angular/build/src/builders/application/execute-build.ts +++ b/packages/angular/build/src/builders/application/execute-build.ts @@ -13,10 +13,13 @@ import { BuildOutputFileType, BundlerContext } from '../../tools/esbuild/bundler import { ExecutionResult, RebuildState } from '../../tools/esbuild/bundler-execution-result'; import { checkCommonJSModules } from '../../tools/esbuild/commonjs-checker'; import { extractLicenses } from '../../tools/esbuild/license-extractor'; +import { profileAsync } from '../../tools/esbuild/profiling'; import { calculateEstimatedTransferSizes, logBuildStats } from '../../tools/esbuild/utils'; import { BudgetCalculatorResult, checkBudgets } from '../../utils/bundle-calculator'; +import { shouldOptimizeChunks } from '../../utils/environment-options'; import { resolveAssets } from '../../utils/resolve-assets'; import { getSupportedBrowsers } from '../../utils/supported-browsers'; +import { optimizeChunks } from './chunk-optimizer'; import { executePostBundleSteps } from './execute-post-bundle'; import { inlineI18n, loadActiveTranslations } from './i18n'; import { NormalizedApplicationBuildOptions } from './options'; @@ -59,11 +62,20 @@ export async function executeBuild( bundlerContexts = setupBundlerContexts(options, browsers, codeBundleCache); } - const bundlingResult = await BundlerContext.bundleAll( + let bundlingResult = await BundlerContext.bundleAll( bundlerContexts, rebuildState?.fileChanges.all, ); + if (options.optimizationOptions.scripts && shouldOptimizeChunks) { + bundlingResult = await profileAsync('OPTIMIZE_CHUNKS', () => + optimizeChunks( + bundlingResult, + options.sourcemapOptions.scripts ? !options.sourcemapOptions.hidden || 'hidden' : false, + ), + ); + } + const executionResult = new ExecutionResult(bundlerContexts, codeBundleCache); executionResult.addWarnings(bundlingResult.warnings); diff --git a/packages/angular/build/src/utils/environment-options.ts b/packages/angular/build/src/utils/environment-options.ts index c1e330b37963..26d211b3a77d 100644 --- a/packages/angular/build/src/utils/environment-options.ts +++ b/packages/angular/build/src/utils/environment-options.ts @@ -96,3 +96,7 @@ export const useTypeChecking = const buildLogsJsonVariable = process.env['NG_BUILD_LOGS_JSON']; export const useJSONBuildLogs = isPresent(buildLogsJsonVariable) && isEnabled(buildLogsJsonVariable); + +const optimizeChunksVariable = process.env['NG_BUILD_OPTIMIZE_CHUNKS']; +export const shouldOptimizeChunks = + isPresent(optimizeChunksVariable) && isEnabled(optimizeChunksVariable); diff --git a/tests/legacy-cli/e2e/tests/build/chunk-optimizer.ts b/tests/legacy-cli/e2e/tests/build/chunk-optimizer.ts new file mode 100644 index 000000000000..edc43729718e --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/chunk-optimizer.ts @@ -0,0 +1,19 @@ +import assert from 'node:assert/strict'; +import { readFile } from 'node:fs/promises'; +import { execWithEnv } from '../../utils/process'; + +/** + * AOT builds with chunk optimizer should contain generated component definitions. + * This is currently testing that the generated code is propagating through the + * chunk optimization step. + */ +export default async function () { + await execWithEnv('ng', ['build', '--output-hashing=none'], { + ...process.env, + NG_BUILD_OPTIMIZE_CHUNKS: '1', + NG_BUILD_MANGLE: '0', + }); + + const content = await readFile('dist/test-project/browser/main.js', 'utf-8'); + assert.match(content, /\\u0275\\u0275defineComponent/); +} diff --git a/tests/legacy-cli/e2e/tests/build/material.ts b/tests/legacy-cli/e2e/tests/build/material.ts index 62c9697a82d7..64f8a1ae4c2f 100644 --- a/tests/legacy-cli/e2e/tests/build/material.ts +++ b/tests/legacy-cli/e2e/tests/build/material.ts @@ -1,4 +1,5 @@ -import { appendFile } from 'node:fs/promises'; +import assert from 'node:assert/strict'; +import { appendFile, readdir } from 'node:fs/promises'; import { getGlobalVariable } from '../../utils/env'; import { readFile, replaceInFile } from '../../utils/fs'; import { @@ -6,7 +7,7 @@ import { installPackage, installWorkspacePackages, } from '../../utils/packages'; -import { ng } from '../../utils/process'; +import { execWithEnv, ng } from '../../utils/process'; import { isPrereleaseCli, updateJsonFile } from '../../utils/project'; const snapshots = require('../../ng-snapshot/package.json'); @@ -89,4 +90,22 @@ export default async function () { ); await ng('e2e', '--configuration=production'); + + const usingApplicationBuilder = getGlobalVariable('argv')['esbuild']; + if (usingApplicationBuilder) { + // Test with chunk optimizations to reduce async animations chunk file count + await execWithEnv('ng', ['build'], { + ...process.env, + NG_BUILD_OPTIMIZE_CHUNKS: '1', + }); + const distFiles = await readdir('dist/test-project/browser'); + const jsCount = distFiles.filter((file) => file.endsWith('.js')).length; + // 3 = polyfills, main, and one lazy chunk + assert.equal(jsCount, 3); + + await execWithEnv('ng', ['e2e', '--configuration=production'], { + ...process.env, + NG_BUILD_OPTIMIZE_CHUNKS: '1', + }); + } } diff --git a/yarn.lock b/yarn.lock index 29663d289ac3..568a2c56d804 100644 --- a/yarn.lock +++ b/yarn.lock @@ -414,6 +414,7 @@ __metadata: parse5-html-rewriting-stream: "npm:7.0.0" picomatch: "npm:4.0.2" piscina: "npm:4.6.1" + rollup: "npm:4.18.0" sass: "npm:1.77.6" semver: "npm:7.6.2" undici: "npm:6.19.2" @@ -763,7 +764,7 @@ __metadata: puppeteer: "npm:18.2.1" quicktype-core: "npm:23.0.170" resolve-url-loader: "npm:5.0.0" - rollup: "npm:~4.18.0" + rollup: "npm:4.18.0" rollup-plugin-sourcemaps: "npm:^0.6.0" rxjs: "npm:7.8.1" sass: "npm:1.77.6" @@ -15663,7 +15664,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.13.0, rollup@npm:^4.18.0, rollup@npm:^4.4.0, rollup@npm:~4.18.0": +"rollup@npm:4.18.0, rollup@npm:^4.13.0, rollup@npm:^4.18.0, rollup@npm:^4.4.0": version: 4.18.0 resolution: "rollup@npm:4.18.0" dependencies:
64e6b9490823178a406b960008578dfdb1bd1e47
2017-06-30 23:02:08
Sumit Arora
fix(@angular/cli): fix directory issue
false
fix directory issue
fix
diff --git a/packages/@angular/cli/ember-cli/lib/cli/cli.js b/packages/@angular/cli/ember-cli/lib/cli/cli.js index 26cc3886d4dd..a960564134df 100644 --- a/packages/@angular/cli/ember-cli/lib/cli/cli.js +++ b/packages/@angular/cli/ember-cli/lib/cli/cli.js @@ -133,7 +133,6 @@ class CLI { logger.info('command: %s', commandName); if (!this.testing) { - process.chdir(environment.project.root); let skipInstallationCheck = commandArgs.indexOf('--skip-installation-check') !== -1; if (environment.project.isEmberCLIProject() && !skipInstallationCheck) { const InstallationChecker = require('../models/installation-checker');
52a014dd2348b65c2df88ec49d220266f5ceba45
2019-04-16 23:53:48
Charles Lyding
fix(@angular-devkit/core): ignore undefined targets when adding a workspace project
false
ignore undefined targets when adding a workspace project
fix
diff --git a/etc/api/angular_devkit/core/src/_golden-api.d.ts b/etc/api/angular_devkit/core/src/_golden-api.d.ts index cf48eeaca661..3bd0193425a6 100644 --- a/etc/api/angular_devkit/core/src/_golden-api.d.ts +++ b/etc/api/angular_devkit/core/src/_golden-api.d.ts @@ -773,7 +773,7 @@ export declare class ProjectDefinitionCollection extends DefinitionCollection<Pr root: string; sourceRoot?: string; prefix?: string; - targets?: Record<string, TargetDefinition>; + targets?: Record<string, TargetDefinition | undefined>; [key: string]: unknown; }): this; set(name: string, value: ProjectDefinition): this; diff --git a/packages/angular_devkit/core/src/workspace/definitions.ts b/packages/angular_devkit/core/src/workspace/definitions.ts index 95f7e21d4b6f..86dfe5664c26 100644 --- a/packages/angular_devkit/core/src/workspace/definitions.ts +++ b/packages/angular_devkit/core/src/workspace/definitions.ts @@ -146,7 +146,7 @@ export class ProjectDefinitionCollection extends DefinitionCollection<ProjectDef root: string, sourceRoot?: string, prefix?: string, - targets?: Record<string, TargetDefinition>, + targets?: Record<string, TargetDefinition | undefined>, [key: string]: unknown, }, ): this { @@ -165,7 +165,9 @@ export class ProjectDefinitionCollection extends DefinitionCollection<ProjectDef if (definition.targets) { for (const [name, target] of Object.entries(definition.targets)) { - project.targets.set(name, target); + if (target) { + project.targets.set(name, target); + } } }
5ed42d6f2f660600a8489101f8c10ee592eaac25
2023-09-20 23:16:42
cexbrayat
docs: update outdated goldens
false
update outdated goldens
docs
diff --git a/goldens/public-api/angular/ssr/index.md b/goldens/public-api/angular/ssr/index.md index 0595db4dc815..2d92e172ee74 100644 --- a/goldens/public-api/angular/ssr/index.md +++ b/goldens/public-api/angular/ssr/index.md @@ -30,18 +30,6 @@ export interface CommonEngineRenderOptions { url?: string; } -// @public -export function ngExpressEngine(setupOptions: Readonly<NgExpressEngineOptions>): (path: string, options: NgExpressEngineRenderOptions, callback: (err?: Error | null, html?: string) => void) => void; - -// @public -export interface NgExpressEngineOptions extends Pick<CommonEngineRenderOptions, 'providers' | 'publicPath' | 'inlineCriticalCss'> { - // (undocumented) - bootstrap: NonNullable<CommonEngineRenderOptions['bootstrap']>; -} - -// @public (undocumented) -export type NgExpressEngineRenderOptions = CommonEngineRenderOptions; - // (No @packageDocumentation comment for this package) ``` diff --git a/goldens/public-api/ngtools/webpack/index.md b/goldens/public-api/ngtools/webpack/index.md index 9a46e07e5036..d50f6a068dc1 100644 --- a/goldens/public-api/ngtools/webpack/index.md +++ b/goldens/public-api/ngtools/webpack/index.md @@ -46,6 +46,9 @@ export interface AngularWebpackPluginOptions { tsconfig: string; } +// @public (undocumented) +export const imageDomains: Set<string>; + // (No @packageDocumentation comment for this package) ```
51864e84aed7d68e95b7902f0df085faf35774b0
2017-02-15 17:58:09
Filipe Silva
test: fix race condition on rebuild test
false
fix race condition on rebuild test
test
diff --git a/tests/e2e/tests/build/rebuild.ts b/tests/e2e/tests/build/rebuild.ts index 686e673940c5..33d64e8a6150 100644 --- a/tests/e2e/tests/build/rebuild.ts +++ b/tests/e2e/tests/build/rebuild.ts @@ -33,16 +33,16 @@ export default function() { // Add a lazy module. .then(() => ng('generate', 'module', 'lazy', '--routing')) // Just wait for the rebuild, otherwise we might be validating the last build. - .then(() => wait(1000)) + .then(() => wait(2000)) .then(() => writeFile('src/app/app.module.ts', ` import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; - + import { AppComponent } from './app.component'; import { RouterModule } from '@angular/router'; - + @NgModule({ declarations: [ AppComponent @@ -60,6 +60,7 @@ export default function() { }) export class AppModule { } `)) + .then(() => wait(2000)) // Should trigger a rebuild with a new bundle. .then(() => waitForAnyProcessOutputToMatch( /webpack: bundle is now VALID|webpack: Compiled successfully./, 10000))
612da791dab6b7aff9144aa6e979988c80c6e987
2025-01-16 23:48:37
Alan Agius
ci: disable Renovate updates for all stamped versions
false
disable Renovate updates for all stamped versions
ci
diff --git a/renovate.json b/renovate.json index c1436d6c68a8..988480c48d38 100644 --- a/renovate.json +++ b/renovate.json @@ -37,11 +37,7 @@ "schedule": ["before 4:00am on the first day of the month"] }, { - "matchCurrentVersion": "0.0.0-PLACEHOLDER", - "enabled": false - }, - { - "matchCurrentVersion": "0.0.0-EXPERIMENTAL-PLACEHOLDER", + "matchCurrentVersion": "/0\\.0\\.0-/", "enabled": false }, {
d4a2849010f5151bf7ad2bd390d1ec0a8b26a0f5
2023-06-13 21:52:39
Doug Parker
build: bump versions for minor release
false
bump versions for minor release
build
diff --git a/packages/angular/pwa/package.json b/packages/angular/pwa/package.json index c05e6a6ee292..e185cbc8e2f9 100644 --- a/packages/angular/pwa/package.json +++ b/packages/angular/pwa/package.json @@ -17,7 +17,7 @@ "parse5-html-rewriting-stream": "7.0.0" }, "peerDependencies": { - "@angular/cli": "^16.0.0 || ^16.1.0-next.0" + "@angular/cli": "^16.1.0" }, "peerDependenciesMeta": { "@angular/cli": { diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index b32ac0c4291b..34aedb799eea 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -75,14 +75,14 @@ "esbuild": "0.17.19" }, "peerDependencies": { - "@angular/compiler-cli": "^16.0.0 || ^16.1.0-next.0", - "@angular/localize": "^16.0.0 || ^16.1.0-next.0", - "@angular/platform-server": "^16.0.0 || ^16.1.0-next.0", - "@angular/service-worker": "^16.0.0 || ^16.1.0-next.0", + "@angular/compiler-cli": "^16.1.0", + "@angular/localize": "^16.1.0", + "@angular/platform-server": "^16.1.0", + "@angular/service-worker": "^16.1.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "karma": "^6.3.0", - "ng-packagr": "^16.0.0 || ^16.1.0-next.0", + "ng-packagr": "^16.1.0", "protractor": "^7.0.0", "tailwindcss": "^2.0.0 || ^3.0.0", "typescript": ">=4.9.3 <5.2" diff --git a/packages/ngtools/webpack/package.json b/packages/ngtools/webpack/package.json index 6645f4961077..bd2224cbf5e8 100644 --- a/packages/ngtools/webpack/package.json +++ b/packages/ngtools/webpack/package.json @@ -22,14 +22,14 @@ "homepage": "https://github.com/angular/angular-cli/tree/main/packages/ngtools/webpack", "dependencies": {}, "peerDependencies": { - "@angular/compiler-cli": "^16.0.0 || ^16.1.0-next.0", + "@angular/compiler-cli": "^16.1.0", "typescript": ">=4.9.3 <5.2", "webpack": "^5.54.0" }, "devDependencies": { "@angular-devkit/core": "0.0.0-PLACEHOLDER", - "@angular/compiler": "16.1.0-rc.0", - "@angular/compiler-cli": "16.1.0-rc.0", + "@angular/compiler": "16.1.0", + "@angular/compiler-cli": "16.1.0", "typescript": "5.1.3", "webpack": "5.86.0" } diff --git a/packages/schematics/angular/utility/latest-versions.ts b/packages/schematics/angular/utility/latest-versions.ts index 029b004c88a9..0c6990d6cb9f 100644 --- a/packages/schematics/angular/utility/latest-versions.ts +++ b/packages/schematics/angular/utility/latest-versions.ts @@ -15,7 +15,7 @@ export const latestVersions: Record<string, string> & { ...require('./latest-versions/package.json')['dependencies'], // As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current - Angular: '^16.1.0-next.0', + Angular: '^16.1.0', // Since @angular-devkit/build-angular and @schematics/angular are always // published together from the same monorepo, and they are both diff --git a/packages/schematics/angular/utility/latest-versions/package.json b/packages/schematics/angular/utility/latest-versions/package.json index 038e368fa36f..94f3464c9037 100644 --- a/packages/schematics/angular/utility/latest-versions/package.json +++ b/packages/schematics/angular/utility/latest-versions/package.json @@ -12,7 +12,7 @@ "karma-jasmine-html-reporter": "~2.1.0", "karma-jasmine": "~5.1.0", "karma": "~6.4.0", - "ng-packagr": "^16.1.0-next.0", + "ng-packagr": "^16.1.0", "protractor": "~7.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0",
fb24f30202ecdedbba5abc82eb2eb2a01990ee41
2019-09-10 22:31:50
Alan
feat(@angular-devkit/build-angular): enable bundleDependencies by default for server builder
false
enable bundleDependencies by default for server builder
feat
diff --git a/packages/angular_devkit/build_angular/src/server/schema.json b/packages/angular_devkit/build_angular/src/server/schema.json index d1122c949663..d85f4985a365 100644 --- a/packages/angular_devkit/build_angular/src/server/schema.json +++ b/packages/angular_devkit/build_angular/src/server/schema.json @@ -194,8 +194,8 @@ }, "bundleDependencies": { "type": "string", - "description": "Available on server platform only. Which external dependencies to bundle into the module. By default, all of node_modules will be kept as requires.", - "default": "none", + "description": "Available on server platform only. Which external dependencies to bundle into the module. By default, all of node_modules will be bundled.", + "default": "all", "enum": [ "none", "all"
d8f926fa7f63d6745c94116c47fc23a38833b127
2024-10-28 20:38:06
Alan Agius
fix(@angular/build): simplify disabling server features with `--no-server` via command line
false
simplify disabling server features with `--no-server` via command line
fix
diff --git a/packages/angular/build/src/builders/application/schema.json b/packages/angular/build/src/builders/application/schema.json index 17a48a7590ae..a8e8e13a8016 100644 --- a/packages/angular/build/src/builders/application/schema.json +++ b/packages/angular/build/src/builders/application/schema.json @@ -18,7 +18,18 @@ }, "server": { "type": "string", - "description": "The full path for the server entry point to the application, relative to the current workspace." + "description": "The full path for the server entry point to the application, relative to the current workspace.", + "oneOf": [ + { + "type": "string", + "description": "The full path for the server entry point to the application, relative to the current workspace." + }, + { + "const": false, + "type": "boolean", + "description": "Indicates that a server entry point is not provided." + } + ] }, "polyfills": { "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'.",
2c95ea7415ce571dea0dbb13b987bbc5335337f1
2022-06-14 23:16:08
Alan Agius
test: couple of clean ups in e2e tests
false
couple of clean ups in e2e tests
test
diff --git a/tests/legacy-cli/e2e/tests/basic/build.ts b/tests/legacy-cli/e2e/tests/basic/build.ts index 390797ebf6b8..51fcca4b9bcd 100644 --- a/tests/legacy-cli/e2e/tests/basic/build.ts +++ b/tests/legacy-cli/e2e/tests/basic/build.ts @@ -4,57 +4,21 @@ import { ng } from '../../utils/process'; export default async function () { // Development build - const { stdout: stdoutDev } = await ng('build', '--configuration=development'); + const { stdout } = await ng('build', '--configuration=development'); await expectFileToMatch('dist/test-project/index.html', 'main.js'); - if (stdoutDev.includes('Estimated Transfer Size')) { + + if (stdout.includes('Estimated Transfer Size')) { throw new Error( - `Expected stdout not to contain 'Estimated Transfer Size' but it did.\n${stdoutDev}`, + `Expected stdout not to contain 'Estimated Transfer Size' but it did.\n${stdout}`, ); } - // Named Development build - await ng('build', 'test-project', '--configuration=development'); - await ng('build', '--configuration=development', 'test-project', '--no-progress'); - await ng('build', '--configuration=development', '--no-progress', 'test-project'); - // Production build - const { stderr: stderrProgress, stdout } = await ng('build', '--progress'); + await ng('build'); if (getGlobalVariable('argv')['esbuild']) { // esbuild uses an 8 character hash await expectFileToMatch('dist/test-project/index.html', /main\.[a-zA-Z0-9]{8}\.js/); - - // EXPERIMENTAL_ESBUILD: esbuild does not yet output build stats - return; } else { await expectFileToMatch('dist/test-project/index.html', /main\.[a-zA-Z0-9]{16}\.js/); } - - if (!stdout.includes('Initial Total')) { - throw new Error(`Expected stdout to contain 'Initial Total' but it did not.\n${stdout}`); - } - - if (!stdout.includes('Estimated Transfer Size')) { - throw new Error( - `Expected stdout to contain 'Estimated Transfer Size' but it did not.\n${stdout}`, - ); - } - - const logs: string[] = [ - 'Browser application bundle generation complete', - 'Copying assets complete', - 'Index html generation complete', - ]; - - for (const log of logs) { - if (!stderrProgress.includes(log)) { - throw new Error(`Expected stderr to contain '${log}' but didn't.\n${stderrProgress}`); - } - } - - const { stderr: stderrNoProgress } = await ng('build', '--no-progress'); - for (const log of logs) { - if (stderrNoProgress.includes(log)) { - throw new Error(`Expected stderr not to contain '${log}' but it did.\n${stderrProgress}`); - } - } } diff --git a/tests/legacy-cli/e2e/tests/basic/e2e.ts b/tests/legacy-cli/e2e/tests/basic/e2e.ts index 8671d203efe8..320ae22682ac 100644 --- a/tests/legacy-cli/e2e/tests/basic/e2e.ts +++ b/tests/legacy-cli/e2e/tests/basic/e2e.ts @@ -1,64 +1,10 @@ -import { ng, execAndWaitForOutputToMatch, killAllProcesses } from '../../utils/process'; +import { silentNg } from '../../utils/process'; import { expectToFail } from '../../utils/utils'; -import { moveFile, copyFile, replaceInFile } from '../../utils/fs'; -export default function () { - return ( - Promise.resolve() - // Should fail without serving - .then(() => expectToFail(() => ng('e2e', 'test-project', '--dev-server-target='))) - // These should work. - .then(() => ng('e2e', 'test-project')) - .then(() => ng('e2e', 'test-project', '--dev-server-target=test-project:serve')) - // Should accept different config file - .then(() => moveFile('./e2e/protractor.conf.js', './e2e/renamed-protractor.conf.js')) - .then(() => ng('e2e', 'test-project', '--protractor-config=e2e/renamed-protractor.conf.js')) - .then(() => moveFile('./e2e/renamed-protractor.conf.js', './e2e/protractor.conf.js')) - // Should accept different multiple spec files - .then(() => moveFile('./e2e/src/app.e2e-spec.ts', './e2e/src/renamed-app.e2e-spec.ts')) - .then(() => - copyFile('./e2e/src/renamed-app.e2e-spec.ts', './e2e/src/another-app.e2e-spec.ts'), - ) - .then(() => - ng( - 'e2e', - 'test-project', - '--specs', - './e2e/renamed-app.e2e-spec.ts', - '--specs', - './e2e/another-app.e2e-spec.ts', - ), - ) - // Rename the spec back to how it was. - .then(() => moveFile('./e2e/src/renamed-app.e2e-spec.ts', './e2e/src/app.e2e-spec.ts')) - // Suites block need to be added in the protractor.conf.js file to test suites - .then(() => - replaceInFile( - 'e2e/protractor.conf.js', - `allScriptsTimeout: 11000,`, - `allScriptsTimeout: 11000, - suites: { - app: './e2e/src/app.e2e-spec.ts' - }, - `, - ), - ) - .then(() => ng('e2e', 'test-project', '--suite=app')) - // Remove suites block from protractor.conf.js file after testing suites - .then(() => - replaceInFile( - 'e2e/protractor.conf.js', - `allScriptsTimeout: 11000, - suites: { - app: './e2e/src/app.e2e-spec.ts' - }, - `, - `allScriptsTimeout: 11000,`, - ), - ) - // Should run side-by-side with `ng serve` - .then(() => execAndWaitForOutputToMatch('ng', ['serve'], / Compiled successfully./)) - .then(() => ng('e2e', 'test-project', '--dev-server-target=')) - .finally(() => killAllProcesses()) - ); +export default async function () { + await expectToFail(() => silentNg('e2e', 'test-project', '--dev-server-target=')); + + // These should work. + await silentNg('e2e', 'test-project'); + await silentNg('e2e', 'test-project', '--dev-server-target=test-project:serve'); } diff --git a/tests/legacy-cli/e2e/tests/basic/rebuild.ts b/tests/legacy-cli/e2e/tests/basic/rebuild.ts index a1af3e836328..8b507f6a19bd 100644 --- a/tests/legacy-cli/e2e/tests/basic/rebuild.ts +++ b/tests/legacy-cli/e2e/tests/basic/rebuild.ts @@ -1,32 +1,24 @@ -import { - killAllProcesses, - waitForAnyProcessOutputToMatch, - execAndWaitForOutputToMatch, - ng, -} from '../../utils/process'; +import { waitForAnyProcessOutputToMatch, silentNg } from '../../utils/process'; import { writeFile, writeMultipleFiles } from '../../utils/fs'; -import { wait } from '../../utils/utils'; import fetch from 'node-fetch'; -import { findFreePort } from '../../utils/network'; +import { ngServe } from '../../utils/project'; const validBundleRegEx = / Compiled successfully./; export default async function () { - const port = await findFreePort(); - - return ( - execAndWaitForOutputToMatch('ng', ['serve', '--port', String(port)], validBundleRegEx) - // Add a lazy module. - .then(() => ng('generate', 'module', 'lazy', '--routing')) - // Should trigger a rebuild with a new bundle. - // We need to use Promise.all to ensure we are waiting for the rebuild just before we write - // the file, otherwise rebuilds can be too fast and fail CI. - .then(() => - Promise.all([ - waitForAnyProcessOutputToMatch(validBundleRegEx, 20000), - writeFile( - 'src/app/app.module.ts', - ` + const port = await ngServe(); + // Add a lazy module. + await silentNg('generate', 'module', 'lazy', '--routing'); + + // Should trigger a rebuild with a new bundle. + // We need to use Promise.all to ensure we are waiting for the rebuild just before we write + // the file, otherwise rebuilds can be too fast and fail CI. + // Count the bundles. + await Promise.all([ + waitForAnyProcessOutputToMatch(/lazy_module_ts\.js/), + writeFile( + 'src/app/app.module.ts', + ` import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; @@ -52,138 +44,122 @@ export default async function () { }) export class AppModule { } `, - ), - ]), - ) - // Count the bundles. - .then((results) => { - const stdout = results[0].stdout; - if (!/lazy_module_ts\.js/g.test(stdout)) { - throw new Error('Expected webpack to create a new chunk, but did not.'); - } - }) - // Change multiple files and check that all of them are invalidated and recompiled. - .then(() => - Promise.all([ - waitForAnyProcessOutputToMatch(validBundleRegEx, 20000), - writeMultipleFiles({ - 'src/app/app.module.ts': ` - import { BrowserModule } from '@angular/platform-browser'; - import { NgModule } from '@angular/core'; - - import { AppComponent } from './app.component'; - - @NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule - ], - providers: [], - bootstrap: [AppComponent] - }) - export class AppModule { } - - console.log('$$_E2E_GOLDEN_VALUE_1'); - export let X = '$$_E2E_GOLDEN_VALUE_2'; + ), + ]); + + // Change multiple files and check that all of them are invalidated and recompiled. + await Promise.all([ + waitForAnyProcessOutputToMatch(validBundleRegEx), + writeMultipleFiles({ + 'src/app/app.module.ts': ` + import { BrowserModule } from '@angular/platform-browser'; + import { NgModule } from '@angular/core'; + + import { AppComponent } from './app.component'; + + @NgModule({ + declarations: [ + AppComponent + ], + imports: [ + BrowserModule + ], + providers: [], + bootstrap: [AppComponent] + }) + export class AppModule { } + + console.log('$$_E2E_GOLDEN_VALUE_1'); + export let X = '$$_E2E_GOLDEN_VALUE_2'; `, - 'src/main.ts': ` - import { enableProdMode } from '@angular/core'; - import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + 'src/main.ts': ` + import { enableProdMode } from '@angular/core'; + import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - import { AppModule } from './app/app.module'; - import { environment } from './environments/environment'; + import { AppModule } from './app/app.module'; + import { environment } from './environments/environment'; - if (environment.production) { - enableProdMode(); - } + if (environment.production) { + enableProdMode(); + } - platformBrowserDynamic().bootstrapModule(AppModule); + platformBrowserDynamic().bootstrapModule(AppModule); - import * as m from './app/app.module'; - console.log(m.X); - console.log('$$_E2E_GOLDEN_VALUE_3'); + import * as m from './app/app.module'; + console.log(m.X); + console.log('$$_E2E_GOLDEN_VALUE_3'); `, - }), - ]), - ) - .then(() => - Promise.all([ - waitForAnyProcessOutputToMatch(validBundleRegEx, 20000), - writeMultipleFiles({ - 'src/app/app.module.ts': ` - - import { BrowserModule } from '@angular/platform-browser'; - import { NgModule } from '@angular/core'; - - import { AppComponent } from './app.component'; - - @NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule - ], - providers: [], - bootstrap: [AppComponent] - }) - export class AppModule { } - - console.log('$$_E2E_GOLDEN_VALUE_1'); - export let X = '$$_E2E_GOLDEN_VALUE_2'; - console.log('File changed with no import/export changes'); + }), + ]); + + await Promise.all([ + waitForAnyProcessOutputToMatch(validBundleRegEx), + writeMultipleFiles({ + 'src/app/app.module.ts': ` + import { BrowserModule } from '@angular/platform-browser'; + import { NgModule } from '@angular/core'; + + import { AppComponent } from './app.component'; + + @NgModule({ + declarations: [ + AppComponent + ], + imports: [ + BrowserModule + ], + providers: [], + bootstrap: [AppComponent] + }) + export class AppModule { } + + console.log('$$_E2E_GOLDEN_VALUE_1'); + export let X = '$$_E2E_GOLDEN_VALUE_2'; + console.log('File changed with no import/export changes'); `, - }), - ]), - ) - .then(() => wait(2000)) - .then(() => fetch(`http://localhost:${port}/main.js`)) - .then((response) => response.text()) - .then((body) => { - if (!body.match(/\$\$_E2E_GOLDEN_VALUE_1/)) { - throw new Error('Expected golden value 1.'); - } - if (!body.match(/\$\$_E2E_GOLDEN_VALUE_2/)) { - throw new Error('Expected golden value 2.'); - } - if (!body.match(/\$\$_E2E_GOLDEN_VALUE_3/)) { - throw new Error('Expected golden value 3.'); - } - }) - .then(() => - Promise.all([ - waitForAnyProcessOutputToMatch(validBundleRegEx, 20000), - writeMultipleFiles({ - 'src/app/app.component.html': '<h1>testingTESTING123</h1>', - }), - ]), - ) - .then(() => wait(2000)) - .then(() => fetch(`http://localhost:${port}/main.js`)) - .then((response) => response.text()) - .then((body) => { - if (!body.match(/testingTESTING123/)) { - throw new Error('Expected component HTML to update.'); - } - }) - .then(() => - Promise.all([ - waitForAnyProcessOutputToMatch(validBundleRegEx, 20000), - writeMultipleFiles({ - 'src/app/app.component.css': ':host { color: blue; }', - }), - ]), - ) - .then(() => wait(2000)) - .then(() => fetch(`http://localhost:${port}/main.js`)) - .then((response) => response.text()) - .then((body) => { - if (!body.match(/color:\s?blue/)) { - throw new Error('Expected component CSS to update.'); - } - }) - .finally(() => killAllProcesses()) - ); + }), + ]); + { + const response = await fetch(`http://localhost:${port}/main.js`); + const body = await response.text(); + if (!body.match(/\$\$_E2E_GOLDEN_VALUE_1/)) { + throw new Error('Expected golden value 1.'); + } + if (!body.match(/\$\$_E2E_GOLDEN_VALUE_2/)) { + throw new Error('Expected golden value 2.'); + } + if (!body.match(/\$\$_E2E_GOLDEN_VALUE_3/)) { + throw new Error('Expected golden value 3.'); + } + } + + await Promise.all([ + waitForAnyProcessOutputToMatch(validBundleRegEx), + writeMultipleFiles({ + 'src/app/app.component.html': '<h1>testingTESTING123</h1>', + }), + ]); + + { + const response = await fetch(`http://localhost:${port}/main.js`); + const body = await response.text(); + if (!body.match(/testingTESTING123/)) { + throw new Error('Expected component HTML to update.'); + } + } + + await Promise.all([ + waitForAnyProcessOutputToMatch(validBundleRegEx), + writeMultipleFiles({ + 'src/app/app.component.css': ':host { color: blue; }', + }), + ]); + + { + const response = await fetch(`http://localhost:${port}/main.js`); + const body = await response.text(); + if (!body.match(/color:\s?blue/)) { + throw new Error('Expected component CSS to update.'); + } + } } diff --git a/tests/legacy-cli/e2e/tests/build/delete-output-path.ts b/tests/legacy-cli/e2e/tests/build/delete-output-path.ts deleted file mode 100644 index 6294044f6624..000000000000 --- a/tests/legacy-cli/e2e/tests/build/delete-output-path.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { ng } from '../../utils/process'; -import { expectToFail } from '../../utils/utils'; -import { deleteFile, expectFileToExist } from '../../utils/fs'; -import { getGlobalVariable } from '../../utils/env'; - -export default function () { - // TODO(architect): Delete this test. It is now in devkit/build-angular. - - return ( - ng('build') - // This is supposed to fail since there's a missing file - .then(() => deleteFile('src/app/app.component.ts')) - // The build fails but we don't delete the output of the previous build. - .then(() => expectToFail(() => ng('build', '--delete-output-path=false'))) - .then(() => expectFileToExist('dist')) - // By default, output path is always cleared. - .then(() => expectToFail(() => ng('build', '--configuration=development'))) - .then(() => expectToFail(() => expectFileToExist('dist/test-project'))) - ); -} diff --git a/tests/legacy-cli/e2e/tests/build/disk-cache-purge.ts b/tests/legacy-cli/e2e/tests/build/disk-cache-purge.ts index f63a5e8d8565..5cc3b6d0606c 100644 --- a/tests/legacy-cli/e2e/tests/build/disk-cache-purge.ts +++ b/tests/legacy-cli/e2e/tests/build/disk-cache-purge.ts @@ -1,6 +1,6 @@ import { join } from 'path'; import { createDir, expectFileNotToExist, expectFileToExist, writeFile } from '../../utils/fs'; -import { ng } from '../../utils/process'; +import { silentNg } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; export default async function () { @@ -25,7 +25,7 @@ export default async function () { await createDir(staleCachePath); await expectFileToExist(staleCachePath); - await ng('build'); + await silentNg('build'); await expectFileToExist(cachePath); await expectFileNotToExist(staleCachePath); } diff --git a/tests/legacy-cli/e2e/tests/build/disk-cache.ts b/tests/legacy-cli/e2e/tests/build/disk-cache.ts index a20f06115bac..559313163187 100644 --- a/tests/legacy-cli/e2e/tests/build/disk-cache.ts +++ b/tests/legacy-cli/e2e/tests/build/disk-cache.ts @@ -1,5 +1,5 @@ import { expectFileNotToExist, expectFileToExist, rimraf, writeFile } from '../../utils/fs'; -import { ng } from '../../utils/process'; +import { silentNg } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; const defaultCachePath = '.angular/cache'; @@ -53,5 +53,5 @@ async function configureAndRunTest(cacheOptions?: { }), ]); - await ng('build'); + await silentNg('build'); } diff --git a/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-aot.ts b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-aot.ts new file mode 100644 index 000000000000..c20142e4a229 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-aot.ts @@ -0,0 +1,13 @@ +import { ng } from '../../../utils/process'; +import { libraryConsumptionSetup } from './setup'; + +export default async function () { + await libraryConsumptionSetup(); + + // Build library in full mode (development) + await ng('build', 'my-lib', '--configuration=development'); + + // Check that the e2e succeeds prod and non prod mode + await ng('e2e', '--configuration=production'); + await ng('e2e', '--configuration=development'); +} diff --git a/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-jit.ts b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-jit.ts new file mode 100644 index 000000000000..070fc614f9f8 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-jit.ts @@ -0,0 +1,26 @@ +import { updateJsonFile } from '../../../utils/project'; +import { expectFileToMatch } from '../../../utils/fs'; +import { ng } from '../../../utils/process'; +import { libraryConsumptionSetup } from './setup'; + +export default async function () { + await libraryConsumptionSetup(); + + // Build library in full mode (development) + await ng('build', 'my-lib', '--configuration=development'); + + // JIT linking + await updateJsonFile('angular.json', (config) => { + const build = config.projects['test-project'].architect.build; + build.options.aot = false; + build.configurations.production.buildOptimizer = false; + }); + + // Check that the e2e succeeds prod and non prod mode + await ng('e2e', '--configuration=production'); + await ng('e2e', '--configuration=development'); + + // Validate that sourcemaps for the library exists. + await ng('build', '--configuration=development'); + await expectFileToMatch('dist/test-project/main.js.map', 'projects/my-lib/src/public-api.ts'); +} diff --git a/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-aot.ts b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-aot.ts new file mode 100644 index 000000000000..647e8b1ee9b7 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-aot.ts @@ -0,0 +1,13 @@ +import { ng } from '../../../utils/process'; +import { libraryConsumptionSetup } from './setup'; + +export default async function () { + await libraryConsumptionSetup(); + + // Build library in partial mode (production) + await ng('build', 'my-lib', '--configuration=production'); + + // Check that the e2e succeeds prod and non prod mode + await ng('e2e', '--configuration=production'); + await ng('e2e', '--configuration=development'); +} diff --git a/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-jit.ts b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-jit.ts new file mode 100644 index 000000000000..6c13b5468f2a --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-partial-jit.ts @@ -0,0 +1,21 @@ +import { updateJsonFile } from '../../../utils/project'; +import { ng } from '../../../utils/process'; +import { libraryConsumptionSetup } from './setup'; + +export default async function () { + await libraryConsumptionSetup(); + + // Build library in partial mode (production) + await ng('build', 'my-lib', '--configuration=production'); + + // JIT linking + await updateJsonFile('angular.json', (config) => { + const build = config.projects['test-project'].architect.build; + build.options.aot = false; + build.configurations.production.buildOptimizer = false; + }); + + // Check that the e2e succeeds prod and non prod mode + await ng('e2e', '--configuration=production'); + await ng('e2e', '--configuration=development'); +} diff --git a/tests/legacy-cli/e2e/tests/build/library/lib-consumption-sourcemaps.ts b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-sourcemaps.ts new file mode 100644 index 000000000000..484fcd21bcc3 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/lib-consumption-sourcemaps.ts @@ -0,0 +1,14 @@ +import { expectFileToMatch } from '../../../utils/fs'; +import { ng } from '../../../utils/process'; +import { libraryConsumptionSetup } from './setup'; + +export default async function () { + await libraryConsumptionSetup(); + + // Build library in full mode (development) + await ng('build', 'my-lib', '--configuration=development'); + + // Validate that sourcemaps for the library exists. + await ng('build', '--configuration=development'); + await expectFileToMatch('dist/test-project/main.js.map', 'projects/my-lib/src/public-api.ts'); +} diff --git a/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-full.ts b/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-full.ts deleted file mode 100644 index d25092d1b3da..000000000000 --- a/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-full.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { expectFileToMatch, writeMultipleFiles } from '../../../utils/fs'; -import { ng } from '../../../utils/process'; -import { updateJsonFile } from '../../../utils/project'; - -export default async function () { - await ng('generate', 'library', 'my-lib'); - - // Force an external template - await writeMultipleFiles({ - 'projects/my-lib/src/lib/my-lib.component.html': `<p>my-lib works!</p>`, - 'projects/my-lib/src/lib/my-lib.component.ts': `import { Component } from '@angular/core'; - - @Component({ - selector: 'lib-my-lib', - templateUrl: './my-lib.component.html', - }) - export class MyLibComponent {}`, - './src/app/app.module.ts': ` - import { BrowserModule } from '@angular/platform-browser'; - import { NgModule } from '@angular/core'; - import { MyLibModule } from 'my-lib'; - - import { AppComponent } from './app.component'; - - @NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule, - MyLibModule, - ], - providers: [], - bootstrap: [AppComponent] - }) - export class AppModule { } - `, - './src/app/app.component.ts': ` - import { Component } from '@angular/core'; - import { MyLibService } from 'my-lib'; - - @Component({ - selector: 'app-root', - template: '<lib-my-lib></lib-my-lib>' - }) - export class AppComponent { - title = 'test-project'; - - constructor(myLibService: MyLibService) { - console.log(myLibService); - } - } - `, - 'e2e/src/app.e2e-spec.ts': ` - import { browser, logging, element, by } from 'protractor'; - import { AppPage } from './app.po'; - - describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should display text from library component', async () => { - await page.navigateTo(); - expect(await element(by.css('lib-my-lib p')).getText()).toEqual('my-lib works!'); - }); - - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - })); - }); - }); - `, - }); - - // Build library in full mode (development) - await ng('build', 'my-lib', '--configuration=development'); - - // AOT linking - await runTests(); - - // JIT linking - await updateJsonFile('angular.json', (config) => { - const build = config.projects['test-project'].architect.build; - build.options.aot = false; - build.configurations.production.buildOptimizer = false; - }); - - await runTests(); -} - -async function runTests(): Promise<void> { - // Check that the tests succeeds both with named project, unnamed (should test app), and prod. - await ng('e2e'); - await ng('e2e', 'test-project', '--dev-server-target=test-project:serve:production'); - - // Validate that sourcemaps for the library exists. - await ng('build', '--configuration=development'); - await expectFileToMatch('dist/test-project/main.js.map', 'projects/my-lib/src/public-api.ts'); -} diff --git a/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-partial.ts b/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-partial.ts deleted file mode 100644 index c3ecbab506cb..000000000000 --- a/tests/legacy-cli/e2e/tests/build/library/library-consumption-ivy-partial.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { expectFileToMatch, writeMultipleFiles } from '../../../utils/fs'; -import { ng } from '../../../utils/process'; -import { updateJsonFile } from '../../../utils/project'; - -export default async function () { - await ng('generate', 'library', 'my-lib'); - - // Force an external template - await writeMultipleFiles({ - 'projects/my-lib/src/lib/my-lib.component.html': `<p>my-lib works!</p>`, - 'projects/my-lib/src/lib/my-lib.component.ts': `import { Component } from '@angular/core'; - - @Component({ - selector: 'lib-my-lib', - templateUrl: './my-lib.component.html', - }) - export class MyLibComponent {}`, - './src/app/app.module.ts': ` - import { BrowserModule } from '@angular/platform-browser'; - import { NgModule } from '@angular/core'; - import { MyLibModule } from 'my-lib'; - - import { AppComponent } from './app.component'; - - @NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule, - MyLibModule, - ], - providers: [], - bootstrap: [AppComponent] - }) - export class AppModule { } - `, - './src/app/app.component.ts': ` - import { Component } from '@angular/core'; - import { MyLibService } from 'my-lib'; - - @Component({ - selector: 'app-root', - template: '<lib-my-lib></lib-my-lib>' - }) - export class AppComponent { - title = 'test-project'; - - constructor(myLibService: MyLibService) { - console.log(myLibService); - } - } - `, - 'e2e/src/app.e2e-spec.ts': ` - import { browser, logging, element, by } from 'protractor'; - import { AppPage } from './app.po'; - - describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should display text from library component', async () => { - await page.navigateTo(); - expect(await element(by.css('lib-my-lib p')).getText()).toEqual('my-lib works!'); - }); - - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - })); - }); - }); - `, - }); - - // Build library in partial mode (production) - await ng('build', 'my-lib', '--configuration=production'); - - // AOT linking - await runTests(); - - // JIT linking - await updateJsonFile('angular.json', (config) => { - const build = config.projects['test-project'].architect.build; - build.options.aot = false; - build.configurations.production.buildOptimizer = false; - }); - - await runTests(); -} - -async function runTests(): Promise<void> { - // Check that the tests succeeds both with named project, unnamed (should test app), and prod. - await ng('e2e'); - await ng('e2e', 'test-project', '--dev-server-target=test-project:serve:production'); - - // Validate that sourcemaps for the library exists. - await ng('build', '--configuration=development'); - await expectFileToMatch('dist/test-project/main.js.map', 'projects/my-lib/src/public-api.ts'); -} diff --git a/tests/legacy-cli/e2e/tests/build/library/setup.ts b/tests/legacy-cli/e2e/tests/build/library/setup.ts new file mode 100644 index 000000000000..98bc6e816944 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/library/setup.ts @@ -0,0 +1,79 @@ +import { writeMultipleFiles } from '../../../utils/fs'; +import { silentNg } from '../../../utils/process'; + +export async function libraryConsumptionSetup(): Promise<void> { + await silentNg('generate', 'library', 'my-lib'); + + // Force an external template + await writeMultipleFiles({ + 'projects/my-lib/src/lib/my-lib.component.html': `<p>my-lib works!</p>`, + 'projects/my-lib/src/lib/my-lib.component.ts': `import { Component } from '@angular/core'; + + @Component({ + selector: 'lib-my-lib', + templateUrl: './my-lib.component.html', + }) + export class MyLibComponent {}`, + './src/app/app.module.ts': ` + import { BrowserModule } from '@angular/platform-browser'; + import { NgModule } from '@angular/core'; + import { MyLibModule } from 'my-lib'; + + import { AppComponent } from './app.component'; + + @NgModule({ + declarations: [ + AppComponent + ], + imports: [ + BrowserModule, + MyLibModule, + ], + providers: [], + bootstrap: [AppComponent] + }) + export class AppModule { } + `, + './src/app/app.component.ts': ` + import { Component } from '@angular/core'; + import { MyLibService } from 'my-lib'; + + @Component({ + selector: 'app-root', + template: '<lib-my-lib></lib-my-lib>' + }) + export class AppComponent { + title = 'test-project'; + + constructor(myLibService: MyLibService) { + console.log(myLibService); + } + } + `, + 'e2e/src/app.e2e-spec.ts': ` + import { browser, logging, element, by } from 'protractor'; + import { AppPage } from './app.po'; + + describe('workspace-project App', () => { + let page: AppPage; + + beforeEach(() => { + page = new AppPage(); + }); + + it('should display text from library component', async () => { + await page.navigateTo(); + expect(await element(by.css('lib-my-lib p')).getText()).toEqual('my-lib works!'); + }); + + afterEach(async () => { + // Assert that there are no errors emitted from the browser + const logs = await browser.manage().logs().get(logging.Type.BROWSER); + expect(logs).not.toContain(jasmine.objectContaining({ + level: logging.Level.SEVERE, + })); + }); + }); +`, + }); +} diff --git a/tests/legacy-cli/e2e/tests/build/progress-and-stats.ts b/tests/legacy-cli/e2e/tests/build/progress-and-stats.ts new file mode 100644 index 000000000000..eb4c9147ef44 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/progress-and-stats.ts @@ -0,0 +1,39 @@ +import { getGlobalVariable } from '../../utils/env'; +import { ng } from '../../utils/process'; + +export default async function () { + if (getGlobalVariable('argv')['esbuild']) { + // EXPERIMENTAL_ESBUILD: esbuild does not yet output build stats + return; + } + + const { stderr: stderrProgress, stdout } = await ng('build', '--progress'); + if (!stdout.includes('Initial Total')) { + throw new Error(`Expected stdout to contain 'Initial Total' but it did not.\n${stdout}`); + } + + if (!stdout.includes('Estimated Transfer Size')) { + throw new Error( + `Expected stdout to contain 'Estimated Transfer Size' but it did not.\n${stdout}`, + ); + } + + const logs: string[] = [ + 'Browser application bundle generation complete', + 'Copying assets complete', + 'Index html generation complete', + ]; + + for (const log of logs) { + if (!stderrProgress.includes(log)) { + throw new Error(`Expected stderr to contain '${log}' but didn't.\n${stderrProgress}`); + } + } + + const { stderr: stderrNoProgress } = await ng('build', '--no-progress'); + for (const log of logs) { + if (stderrNoProgress.includes(log)) { + throw new Error(`Expected stderr not to contain '${log}' but it did.\n${stderrProgress}`); + } + } +} diff --git a/tests/legacy-cli/e2e/tests/build/project-name.ts b/tests/legacy-cli/e2e/tests/build/project-name.ts new file mode 100644 index 000000000000..309ba4d8e897 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/build/project-name.ts @@ -0,0 +1,8 @@ +import { silentNg } from '../../utils/process'; + +export default async function () { + // Named Development build + await silentNg('build', 'test-project', '--configuration=development'); + await silentNg('build', '--configuration=development', 'test-project', '--no-progress'); + await silentNg('build', '--configuration=development', '--no-progress', 'test-project'); +} diff --git a/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts b/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts index 907a5dc60414..f5c2b978ef84 100644 --- a/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts +++ b/tests/legacy-cli/e2e/tests/build/rebuild-replacements.ts @@ -1,10 +1,6 @@ import { appendToFile } from '../../utils/fs'; -import { - execAndWaitForOutputToMatch, - killAllProcesses, - waitForAnyProcessOutputToMatch, -} from '../../utils/process'; -import { wait } from '../../utils/utils'; +import { killAllProcesses, waitForAnyProcessOutputToMatch } from '../../utils/process'; +import { ngServe } from '../../utils/project'; const webpackGoodRegEx = / Compiled successfully./; @@ -14,17 +10,11 @@ export default async function () { } try { - await execAndWaitForOutputToMatch( - 'ng', - ['serve', '--configuration=production'], - webpackGoodRegEx, - ); - - await wait(4000); + await ngServe('--configuration=production'); // Should trigger a rebuild. await appendToFile('src/environments/environment.prod.ts', `console.log('PROD');`); - await waitForAnyProcessOutputToMatch(webpackGoodRegEx, 45000); + await waitForAnyProcessOutputToMatch(webpackGoodRegEx); } finally { await killAllProcesses(); } diff --git a/tests/legacy-cli/e2e/tests/build/styles/tailwind-v3-cjs.ts b/tests/legacy-cli/e2e/tests/build/styles/tailwind-v3-cjs.ts index acd6e66320fe..3bf5ff9c4c5b 100644 --- a/tests/legacy-cli/e2e/tests/build/styles/tailwind-v3-cjs.ts +++ b/tests/legacy-cli/e2e/tests/build/styles/tailwind-v3-cjs.ts @@ -1,5 +1,5 @@ import { expectFileToMatch, writeFile } from '../../../utils/fs'; -import { installPackage } from '../../../utils/packages'; +import { installPackage, uninstallPackage } from '../../../utils/packages'; import { ng, silentExec } from '../../../utils/process'; import { updateJsonFile } from '../../../utils/project'; import { expectToFail } from '../../../utils/utils'; @@ -31,4 +31,7 @@ export default async function () { await expectToFail(() => expectFileToMatch('dist/test-project/styles.css', '@tailwind base; @tailwind components;'), ); + + // Uninstall Tailwind + await uninstallPackage('tailwindcss'); } diff --git a/tests/legacy-cli/e2e/tests/commands/e2e/e2e-and-serve.ts b/tests/legacy-cli/e2e/tests/commands/e2e/e2e-and-serve.ts new file mode 100644 index 000000000000..6333c05be279 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/commands/e2e/e2e-and-serve.ts @@ -0,0 +1,12 @@ +import { killAllProcesses, silentNg } from '../../../utils/process'; +import { ngServe } from '../../../utils/project'; + +export default async function () { + try { + // Should run side-by-side with `ng serve` + await ngServe(); + await silentNg('e2e'); + } finally { + killAllProcesses(); + } +} diff --git a/tests/legacy-cli/e2e/tests/commands/e2e/multiple-specs.ts b/tests/legacy-cli/e2e/tests/commands/e2e/multiple-specs.ts new file mode 100644 index 000000000000..c7da20adf900 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/commands/e2e/multiple-specs.ts @@ -0,0 +1,17 @@ +import { silentNg } from '../../../utils/process'; +import { moveFile, copyFile } from '../../../utils/fs'; + +export default async function () { + // Should accept different multiple spec files + await moveFile('./e2e/src/app.e2e-spec.ts', './e2e/src/renamed-app.e2e-spec.ts'); + await copyFile('./e2e/src/renamed-app.e2e-spec.ts', './e2e/src/another-app.e2e-spec.ts'); + + await silentNg( + 'e2e', + 'test-project', + '--specs', + './e2e/renamed-app.e2e-spec.ts', + '--specs', + './e2e/another-app.e2e-spec.ts', + ); +} diff --git a/tests/legacy-cli/e2e/tests/commands/e2e/protractor-config.ts b/tests/legacy-cli/e2e/tests/commands/e2e/protractor-config.ts new file mode 100644 index 000000000000..52e9494e4062 --- /dev/null +++ b/tests/legacy-cli/e2e/tests/commands/e2e/protractor-config.ts @@ -0,0 +1,8 @@ +import { moveFile } from '../../../utils/fs'; +import { silentNg } from '../../../utils/process'; + +export default async function () { + // Should accept different config file + await moveFile('./e2e/protractor.conf.js', './e2e/renamed-protractor.conf.js'); + await silentNg('e2e', 'test-project', '--protractor-config=e2e/renamed-protractor.conf.js'); +} diff --git a/tests/legacy-cli/e2e/tests/commands/e2e/suite.ts b/tests/legacy-cli/e2e/tests/commands/e2e/suite.ts new file mode 100644 index 000000000000..519ed63a71bb --- /dev/null +++ b/tests/legacy-cli/e2e/tests/commands/e2e/suite.ts @@ -0,0 +1,16 @@ +import { silentNg } from '../../../utils/process'; +import { replaceInFile } from '../../../utils/fs'; + +export default async function () { + // Suites block need to be added in the protractor.conf.js file to test suites + await replaceInFile( + 'e2e/protractor.conf.js', + `allScriptsTimeout: 11000,`, + `allScriptsTimeout: 11000, + suites: { + app: './e2e/src/app.e2e-spec.ts' + }, + `, + ); + await silentNg('e2e', 'test-project', '--suite=app'); +} diff --git a/tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts b/tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts index 9c796f896c01..0fba95b63245 100644 --- a/tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts +++ b/tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts @@ -3,7 +3,6 @@ import { getGlobalVariable } from '../../utils/env'; import { expectFileToMatch, writeFile } from '../../utils/fs'; import { installPackage, uninstallPackage } from '../../utils/packages'; import { ng } from '../../utils/process'; -import { updateJsonFile } from '../../utils/project'; import { expectToFail } from '../../utils/utils'; import { readNgVersion } from '../../utils/version'; @@ -31,7 +30,7 @@ export default async function () { throw new Error('Expected no warnings to be shown'); } - expectFileToMatch('messages.xlf', 'Hello world'); + await expectFileToMatch('messages.xlf', 'Hello world'); await uninstallPackage('@angular/localize'); } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref-absolute.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref-absolute.ts new file mode 100644 index 000000000000..a95bfda6f5bc --- /dev/null +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref-absolute.ts @@ -0,0 +1,54 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import { expectFileToMatch } from '../../utils/fs'; +import { ng } from '../../utils/process'; +import { updateJsonFile } from '../../utils/project'; +import { externalServer, langTranslations, setupI18nConfig } from './setup'; + +const baseHrefs: { [l: string]: string } = { + 'en-US': '/en/', + fr: '/fr-FR/', + de: '', +}; + +export default async function () { + // Setup i18n tests and config. + await setupI18nConfig(); + + // Update angular.json + await updateJsonFile('angular.json', (workspaceJson) => { + const appProject = workspaceJson.projects['test-project']; + // tslint:disable-next-line: no-any + const i18n: Record<string, any> = appProject.i18n; + + i18n.sourceLocale = { + baseHref: baseHrefs['en-US'], + }; + + i18n.locales['fr'] = { + translation: i18n.locales['fr'], + baseHref: baseHrefs['fr'], + }; + + i18n.locales['de'] = { + translation: i18n.locales['de'], + baseHref: baseHrefs['de'], + }; + }); + + // Test absolute base href. + await ng('build', '--base-href', 'http://www.domain.com/', '--configuration=development'); + for (const { lang, outputPath } of langTranslations) { + // Verify the HTML base HREF attribute is present + await expectFileToMatch( + `${outputPath}/index.html`, + `href="http://www.domain.com${baseHrefs[lang] || '/'}"`, + ); + } +} diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref.ts index 79854bfb193d..e815f25dd022 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-basehref.ts @@ -9,13 +9,7 @@ import { expectFileToMatch } from '../../utils/fs'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; -import { externalServer, langTranslations, setupI18nConfig } from './setup'; - -const baseHrefs: { [l: string]: string } = { - 'en-US': '/en/', - fr: '/fr-FR/', - de: '', -}; +import { baseHrefs, externalServer, langTranslations, setupI18nConfig } from './setup'; export default async function () { // Setup i18n tests and config. @@ -55,9 +49,6 @@ export default async function () { // Verify the HTML base HREF attribute is present await expectFileToMatch(`${outputPath}/index.html`, `href="${baseHrefs[lang] || '/'}"`); - // Execute Application E2E tests with dev server - await ng('e2e', `--configuration=${lang}`, '--port=0'); - // Execute Application E2E tests for a production build without dev server const { server, port, url } = await externalServer( outputPath, @@ -89,9 +80,6 @@ export default async function () { // Verify the HTML base HREF attribute is present await expectFileToMatch(`${outputPath}/index.html`, `href="/test${baseHrefs[lang] || '/'}"`); - // Execute Application E2E tests with dev server - await ng('e2e', `--configuration=${lang}`, '--port=0'); - // Execute Application E2E tests for a production build without dev server const { server, port, url } = await externalServer( outputPath, @@ -109,14 +97,4 @@ export default async function () { server.close(); } } - - // Test absolute base href. - await ng('build', '--base-href', 'http://www.domain.com/', '--configuration=development'); - for (const { lang, outputPath } of langTranslations) { - // Verify the HTML base HREF attribute is present - await expectFileToMatch( - `${outputPath}/index.html`, - `href="http://www.domain.com${baseHrefs[lang] || '/'}"`, - ); - } } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015-e2e.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015-e2e.ts new file mode 100644 index 000000000000..9a5943043ffd --- /dev/null +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015-e2e.ts @@ -0,0 +1,12 @@ +import { ng } from '../../utils/process'; +import { langTranslations, setupI18nConfig } from './setup'; + +export default async function () { + // Setup i18n tests and config. + await setupI18nConfig(); + + for (const { lang } of langTranslations) { + // Execute Application E2E tests with dev server + await ng('e2e', `--configuration=${lang}`, '--port=0'); + } +} diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015.ts index 65fcfb0cbdbb..3dbb1da3176d 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es2015.ts @@ -1,4 +1,4 @@ -import { expectFileNotToExist, expectFileToMatch, readFile } from '../../utils/fs'; +import { expectFileToMatch } from '../../utils/fs'; import { ng } from '../../utils/process'; import { expectToFail } from '../../utils/utils'; import { externalServer, langTranslations, setupI18nConfig } from './setup'; @@ -7,7 +7,7 @@ export default async function () { // Setup i18n tests and config. await setupI18nConfig(); - const { stderr } = await ng('build', '--source-map'); + const { stderr } = await ng('build'); if (/Locale data for .+ cannot be found/.test(stderr)) { throw new Error( `A warning for a locale not found was shown. This should not happen.\n\nSTDERR:\n${stderr}\n`, @@ -17,17 +17,6 @@ export default async function () { for (const { lang, outputPath, translation } of langTranslations) { await expectFileToMatch(`${outputPath}/main.js`, translation.helloPartial); await expectToFail(() => expectFileToMatch(`${outputPath}/main.js`, '$localize`')); - await expectFileNotToExist(`${outputPath}/main-es5.js`); - - // Ensure sourcemap for modified file contains content - const mainSourceMap = JSON.parse(await readFile(`${outputPath}/main.js.map`)); - if ( - mainSourceMap.version !== 3 || - !Array.isArray(mainSourceMap.sources) || - typeof mainSourceMap.mappings !== 'string' - ) { - throw new Error('invalid localized sourcemap for main.js'); - } // Ensure locale is inlined (@angular/localize plugin inlines `$localize.locale` references) // The only reference in a new application is in @angular/core @@ -36,9 +25,6 @@ export default async function () { // Verify the HTML lang attribute is present await expectFileToMatch(`${outputPath}/index.html`, `lang="${lang}"`); - // Execute Application E2E tests with dev server - await ng('e2e', `--configuration=${lang}`, '--port=0'); - // Execute Application E2E tests for a production build without dev server const { server, port, url } = await externalServer(outputPath, `/${lang}/`); try { diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es5.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es5.ts index 5dbfbc402b7e..88bfac2d9cc1 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es5.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-es5.ts @@ -1,8 +1,8 @@ -import { expectFileToMatch, readFile } from '../../utils/fs'; +import { expectFileToMatch } from '../../utils/fs'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; import { expectToFail } from '../../utils/utils'; -import { externalServer, langTranslations, setupI18nConfig } from './setup'; +import { langTranslations, setupI18nConfig } from './setup'; export default async function () { // Setup i18n tests and config. @@ -11,50 +11,20 @@ export default async function () { // Ensure a es5 build is used. await updateJsonFile('tsconfig.json', (config) => { config.compilerOptions.target = 'es5'; - if (!config.angularCompilerOptions) { - config.angularCompilerOptions = {}; - } - config.angularCompilerOptions.disableTypeScriptVersionCheck = true; }); // Build each locale and verify the output. await ng('build'); + for (const { lang, outputPath, translation } of langTranslations) { await expectFileToMatch(`${outputPath}/main.js`, translation.helloPartial); await expectToFail(() => expectFileToMatch(`${outputPath}/main.js`, '$localize`')); - // Ensure sourcemap for modified file contains content - const mainSourceMap = JSON.parse(await readFile(`${outputPath}/main.js.map`)); - if ( - mainSourceMap.version !== 3 || - !Array.isArray(mainSourceMap.sources) || - typeof mainSourceMap.mappings !== 'string' - ) { - throw new Error('invalid localized sourcemap for main.js'); - } - // Ensure locale is inlined (@angular/localize plugin inlines `$localize.locale` references) // The only reference in a new application is in @angular/core await expectFileToMatch(`${outputPath}/vendor.js`, lang); // Verify the HTML lang attribute is present await expectFileToMatch(`${outputPath}/index.html`, `lang="${lang}"`); - - // Execute Application E2E tests with dev server - await ng('e2e', `--configuration=${lang}`, '--port=0'); - - // Execute Application E2E tests for a production build without dev server - const { server, port, url } = await externalServer(outputPath, `/${lang}/`); - try { - await ng( - 'e2e', - `--port=${port}`, - `--configuration=${lang}`, - '--dev-server-target=', - `--base-url=${url}`, - ); - } finally { - server.close(); - } } } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-hashes.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-hashes.ts index 166ca401b6b3..00d1dfcaa72c 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-hashes.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-hashes.ts @@ -23,11 +23,11 @@ export default async function () { for (const { lang, outputPath } of langTranslations) { for (const entry of fs.readdirSync(outputPath)) { const match = entry.match(OUTPUT_RE); - if (!match) { + if (!match?.groups) { continue; } - hashes.set(`${lang}/${match!.groups!.name}`, match!.groups!.hash); + hashes.set(`${lang}/${match.groups.name}`, match.groups.hash); } } @@ -44,16 +44,16 @@ export default async function () { for (const { lang, outputPath } of langTranslations) { for (const entry of fs.readdirSync(outputPath)) { const match = entry.match(OUTPUT_RE); - if (!match) { + if (!match?.groups) { continue; } - const id = `${lang}/${match!.groups!.name}`; + const id = `${lang}/${match.groups.name}`; const hash = hashes.get(id); if (!hash) { throw new Error('Unexpected output entry: ' + id); } - if (hash === match!.groups!.hash) { + if (hash === match.groups!.hash) { throw new Error('Hash value did not change for entry: ' + id); } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data-augment.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data-augment.ts index db45baf074b4..8c27229fc4cf 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data-augment.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data-augment.ts @@ -7,7 +7,7 @@ import { } from '../../utils/fs'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; -import { externalServer, langTranslations, setupI18nConfig } from './setup'; +import { langTranslations, setupI18nConfig } from './setup'; export default async function () { // Setup i18n tests and config. @@ -41,19 +41,5 @@ export default async function () { // Execute Application E2E tests with dev server await ng('e2e', `--configuration=${lang}`, '--port=0'); - - // Execute Application E2E tests for a production build without dev server - const { server, port, url } = await externalServer(outputPath, `/${lang}/`); - try { - await ng( - 'e2e', - `--port=${port}`, - `--configuration=${lang}`, - '--dev-server-target=', - `--base-url=${url}`, - ); - } finally { - server.close(); - } } } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data.ts index 7c2b4ee2055c..e599ae0ce3dc 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-locale-data.ts @@ -51,7 +51,6 @@ export default async function () { // Update angular.json await updateJsonFile('angular.json', (workspaceJson) => { const appProject = workspaceJson.projects['test-project']; - // tslint:disable-next-line: no-any const i18n: Record<string, any> = appProject.i18n; i18n.sourceLocale = 'en-x-abc'; diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-merging.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-merging.ts index a336f76c422b..2c5d5b5a287f 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-merging.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-merging.ts @@ -18,7 +18,6 @@ export default async function () { // Update angular.json await updateJsonFile('angular.json', (workspaceJson) => { const appProject = workspaceJson.projects['test-project']; - // tslint:disable-next-line: no-any const i18n: Record<string, any> = appProject.i18n; i18n.locales['fr'] = [i18n.locales['fr'], i18n.locales['fr']]; diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-serviceworker.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-serviceworker.ts deleted file mode 100644 index c95fd000059c..000000000000 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-serviceworker.ts +++ /dev/null @@ -1,188 +0,0 @@ -import express from 'express'; -import { resolve } from 'path'; -import { getGlobalVariable } from '../../utils/env'; -import { - copyFile, - expectFileToExist, - expectFileToMatch, - replaceInFile, - writeFile, -} from '../../utils/fs'; -import { findFreePort } from '../../utils/network'; -import { installPackage } from '../../utils/packages'; -import { ng } from '../../utils/process'; -import { updateJsonFile } from '../../utils/project'; -import { expectToFail } from '../../utils/utils'; -import { readNgVersion } from '../../utils/version'; -import { externalServer } from './setup'; - -export default async function () { - // TEMP: disable pending i18n updates - // TODO: when re-enabling, use setupI18nConfig and helpers like other i18n tests. - return; - - let localizeVersion = '@angular/localize@' + readNgVersion(); - if (getGlobalVariable('argv')['ng-snapshots']) { - localizeVersion = require('../../ng-snapshot/package.json').dependencies['@angular/localize']; - } - await installPackage(localizeVersion); - - let serviceWorkerVersion = '@angular/service-worker@' + readNgVersion(); - if (getGlobalVariable('argv')['ng-snapshots']) { - serviceWorkerVersion = require('../../ng-snapshot/package.json').dependencies[ - '@angular/service-worker' - ]; - } - await installPackage(serviceWorkerVersion); - - await updateJsonFile('tsconfig.json', (config) => { - config.compilerOptions.target = 'es2015'; - if (!config.angularCompilerOptions) { - config.angularCompilerOptions = {}; - } - config.angularCompilerOptions.disableTypeScriptVersionCheck = true; - }); - - const baseDir = 'dist/test-project'; - - // Set configurations for each locale. - const langTranslations = [ - { lang: 'en-US', translation: 'Hello i18n!' }, - { lang: 'fr', translation: 'Bonjour i18n!' }, - ]; - - await updateJsonFile('angular.json', (workspaceJson) => { - const appProject = workspaceJson.projects['test-project']; - const appArchitect = appProject.architect || appProject.targets; - const serveConfigs = appArchitect['serve'].configurations; - const e2eConfigs = appArchitect['e2e'].configurations; - - // Make default builds prod. - appArchitect['build'].options.optimization = true; - appArchitect['build'].options.buildOptimizer = true; - appArchitect['build'].options.aot = true; - appArchitect['build'].options.fileReplacements = [ - { - replace: 'src/environments/environment.ts', - with: 'src/environments/environment.prod.ts', - }, - ]; - - // Enable service worker - appArchitect['build'].options.serviceWorker = true; - - // Enable localization for all locales - // appArchitect['build'].options.localize = true; - - // Add locale definitions to the project - // tslint:disable-next-line: no-any - const i18n: Record<string, any> = (appProject.i18n = { locales: {} }); - for (const { lang } of langTranslations) { - if (lang == 'en-US') { - i18n.sourceLocale = lang; - } else { - i18n.locales[lang] = `src/locale/messages.${lang}.xlf`; - } - serveConfigs[lang] = { browserTarget: `test-project:build:${lang}` }; - e2eConfigs[lang] = { - specs: [`./src/app.${lang}.e2e-spec.ts`], - devServerTarget: `test-project:serve:${lang}`, - }; - } - }); - - // Add service worker source configuration - const manifest = { - index: '/index.html', - assetGroups: [ - { - name: 'app', - installMode: 'prefetch', - resources: { - files: ['/favicon.ico', '/index.html', '/manifest.webmanifest', '/*.css', '/*.js'], - }, - }, - { - name: 'assets', - installMode: 'lazy', - updateMode: 'prefetch', - resources: { - files: ['/assets/**', '/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)'], - }, - }, - ], - }; - await writeFile('ngsw-config.json', JSON.stringify(manifest)); - - // Add a translatable element. - await writeFile( - 'src/app/app.component.html', - '<h1 i18n="An introduction header for this sample">Hello i18n!</h1>', - ); - - // Extract the translation messages and copy them for each language. - await ng('extract-i18n', '--output-path=src/locale'); - await expectFileToExist('src/locale/messages.xlf'); - await expectFileToMatch('src/locale/messages.xlf', `source-language="en-US"`); - await expectFileToMatch('src/locale/messages.xlf', `An introduction header for this sample`); - - for (const { lang, translation } of langTranslations) { - if (lang != 'en-US') { - await copyFile('src/locale/messages.xlf', `src/locale/messages.${lang}.xlf`); - await replaceInFile( - `src/locale/messages.${lang}.xlf`, - 'source-language="en-US"', - `source-language="en-US" target-language="${lang}"`, - ); - await replaceInFile( - `src/locale/messages.${lang}.xlf`, - '<source>Hello i18n!</source>', - `<source>Hello i18n!</source>\n<target>${translation}</target>`, - ); - } - } - - // Build each locale and verify the output. - await ng('build', '--i18n-missing-translation', 'error'); - for (const { lang, translation } of langTranslations) { - await expectFileToMatch(`${baseDir}/${lang}/main-es5.js`, translation); - await expectFileToMatch(`${baseDir}/${lang}/main-es2015.js`, translation); - await expectToFail(() => expectFileToMatch(`${baseDir}/${lang}/main-es5.js`, '$localize`')); - await expectToFail(() => expectFileToMatch(`${baseDir}/${lang}/main-es2015.js`, '$localize`')); - await expectFileToMatch(`${baseDir}/${lang}/main-es5.js`, lang); - await expectFileToMatch(`${baseDir}/${lang}/main-es2015.js`, lang); - - // Expect service worker configuration to be present - await expectFileToExist(`${baseDir}/${lang}/ngsw.json`); - - // Ivy i18n doesn't yet work with `ng serve` so we must use a separate server. - const { server, port } = await externalServer(resolve(baseDir, lang)); - try { - // Add E2E test for locale - await writeFile( - 'e2e/src/app.e2e-spec.ts', - ` - import { browser, logging, element, by } from 'protractor'; - describe('workspace-project App', () => { - it('should display welcome message', () => { - browser.get(browser.baseUrl); - expect(element(by.css('h1')).getText()).toEqual('${translation}'); - }); - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - } as logging.Entry)); - }); - }); - `, - ); - - // Execute without a devserver. - await ng('e2e', '--dev-server-target=', `--port=${port}`); - } finally { - server.close(); - } - } -} diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-sourcemaps.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-sourcemaps.ts new file mode 100644 index 000000000000..6788743d356f --- /dev/null +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-sourcemaps.ts @@ -0,0 +1,22 @@ +import { readFile } from '../../utils/fs'; +import { ng } from '../../utils/process'; +import { langTranslations, setupI18nConfig } from './setup'; + +export default async function () { + // Setup i18n tests and config. + await setupI18nConfig(); + + const { stderr } = await ng('build', '--source-map'); + + for (const { outputPath } of langTranslations) { + // Ensure sourcemap for modified file contains content + const mainSourceMap = JSON.parse(await readFile(`${outputPath}/main.js.map`)); + if ( + mainSourceMap.version !== 3 || + !Array.isArray(mainSourceMap.sources) || + typeof mainSourceMap.mappings !== 'string' + ) { + throw new Error('invalid localized sourcemap for main.js'); + } + } +} diff --git a/tests/legacy-cli/e2e/tests/i18n/setup.ts b/tests/legacy-cli/e2e/tests/i18n/setup.ts index 816f3bd8f2ad..a9fa0a11aa4c 100644 --- a/tests/legacy-cli/e2e/tests/i18n/setup.ts +++ b/tests/legacy-cli/e2e/tests/i18n/setup.ts @@ -9,7 +9,6 @@ import { replaceInFile, writeFile, } from '../../utils/fs'; -import { findFreePort } from '../../utils/network'; import { installPackage } from '../../utils/packages'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; @@ -129,6 +128,12 @@ export const formats = { }, }; +export const baseHrefs: { [l: string]: string } = { + 'en-US': '/en/', + fr: '/fr-FR/', + de: '', +}; + export async function setupI18nConfig(format: keyof typeof formats = 'xlf') { // Add component with i18n content, both translations and localeData (plural, dates). await writeFile( diff --git a/tests/legacy-cli/e2e/tests/misc/npm-audit.ts b/tests/legacy-cli/e2e/tests/misc/npm-audit.ts deleted file mode 100644 index 6a8233126e89..000000000000 --- a/tests/legacy-cli/e2e/tests/misc/npm-audit.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { npm } from '../../utils/process'; - -export default async function () { - try { - await npm('audit'); - } catch {} -} diff --git a/tests/legacy-cli/e2e_runner.ts b/tests/legacy-cli/e2e_runner.ts index 1159f4b28a87..580d6d65dcd5 100644 --- a/tests/legacy-cli/e2e_runner.ts +++ b/tests/legacy-cli/e2e_runner.ts @@ -19,8 +19,6 @@ Error.stackTraceLimit = Infinity; * Here's a short description of those flags: * --debug If a test fails, block the thread so the temporary directory isn't deleted. * --noproject Skip creating a project or using one. - * --nobuild Skip building the packages. Use with --noglobal and --reuse to quickly - * rerun tests. * --noglobal Skip linking your local @angular/cli directory. Can save a few seconds. * --nosilent Never silence ng commands. * --ng-tag=TAG Use a specific tag for build snapshots. Similar to ng-snapshots but point to a @@ -34,7 +32,6 @@ Error.stackTraceLimit = Infinity; * --nb-shards Total number of shards that this is part of. Default is 2 if --shard is * passed in. * --shard Index of this processes' shard. - * --devkit=path Path to the devkit to use. The devkit will be built prior to running. * --tmpdir=path Override temporary directory to use for new projects. * If unnamed flags are passed in, the list of tests will be filtered to include only those passed. */
3eb2b5551598979a635aafea988afc3118d941bf
2019-08-15 07:00:06
mgechev
release: v8.3.0-next.2
false
v8.3.0-next.2
release
diff --git a/packages/schematics/angular/utility/latest-versions.ts b/packages/schematics/angular/utility/latest-versions.ts index ae7f5e141d32..ee316b76d1d9 100644 --- a/packages/schematics/angular/utility/latest-versions.ts +++ b/packages/schematics/angular/utility/latest-versions.ts @@ -15,10 +15,10 @@ export const latestVersions = { TsLib: '^1.10.0', // The versions below must be manually updated when making a new devkit release. - DevkitBuildAngular: '~0.803.0-next.1', - DevkitBuildNgPackagr: '~0.803.0-next.1', - DevkitBuildWebpack: '~0.803.0-next.1', - AngularPWA: '~0.803.0-next.1', + DevkitBuildAngular: '~0.803.0-next.2', + DevkitBuildNgPackagr: '~0.803.0-next.2', + DevkitBuildWebpack: '~0.803.0-next.2', + AngularPWA: '~0.803.0-next.2', tsickle: '^0.36.0', ngPackagr: '^5.4.0',
c0aa3d9a63d5d073540e2ab086907a76c3b0152e
2019-03-14 02:21:01
Hans Larsen
build: add reverse dependencies to packages map
false
add reverse dependencies to packages map
build
diff --git a/lib/packages.ts b/lib/packages.ts index b3b52fa12c3d..923d6a017be2 100644 --- a/lib/packages.ts +++ b/lib/packages.ts @@ -29,6 +29,7 @@ export interface PackageInfo { experimental: boolean; packageJson: JsonObject; dependencies: string[]; + reverseDependencies: string[]; snapshot: boolean; snapshotRepo: string; @@ -227,6 +228,7 @@ export const packages: PackageMap = }, dependencies: [], + reverseDependencies: [], get version() { return _getVersionFromGit(experimental); }, @@ -244,4 +246,5 @@ for (const pkgName of Object.keys(packages)) { return name in (pkgJson.dependencies || {}) || name in (pkgJson.devDependencies || {}); }); + pkg.dependencies.forEach(depName => packages[depName].reverseDependencies.push(pkgName)); }
3e9705f31bcdf0893c57746f7fccc15a1f63864c
2018-11-20 06:50:34
Hans Larsen
feat(@angular/cli): add warning for overriding flags in arguments
false
add warning for overriding flags in arguments
feat
diff --git a/packages/angular/cli/models/parser.ts b/packages/angular/cli/models/parser.ts index 1c9e9830524d..757f0f8c9863 100644 --- a/packages/angular/cli/models/parser.ts +++ b/packages/angular/cli/models/parser.ts @@ -63,7 +63,11 @@ function _coerceType(str: string | undefined, type: OptionType, v?: Value): Valu } case OptionType.Array: - return Array.isArray(v) ? v.concat(str || '') : [str || '']; + return Array.isArray(v) + ? v.concat(str || '') + : v === undefined + ? [str || ''] + : [v + '', str || '']; default: return undefined; @@ -119,14 +123,14 @@ function _removeLeadingDashes(key: string): string { function _assignOption( arg: string, args: string[], - { options, parsedOptions, leftovers, ignored, errors, deprecations }: { + { options, parsedOptions, leftovers, ignored, errors, warnings }: { options: Option[], parsedOptions: Arguments, positionals: string[], leftovers: string[], ignored: string[], errors: string[], - deprecations: string[], + warnings: string[], }, ) { const from = arg.startsWith('--') ? 2 : 1; @@ -188,11 +192,21 @@ function _assignOption( } else { const v = _coerce(value, option, parsedOptions[option.name]); if (v !== undefined) { - parsedOptions[option.name] = v; + if (parsedOptions[option.name] !== v) { + if (parsedOptions[option.name] !== undefined) { + warnings.push( + `Option ${JSON.stringify(option.name)} was already specified with value ` + + `${JSON.stringify(parsedOptions[option.name])}. The new value ${JSON.stringify(v)} ` + + `will override it.`, + ); + } + + parsedOptions[option.name] = v; - if (option.deprecated !== undefined && option.deprecated !== false) { - deprecations.push(`Option ${JSON.stringify(option.name)} is deprecated${ + if (option.deprecated !== undefined && option.deprecated !== false) { + warnings.push(`Option ${JSON.stringify(option.name)} is deprecated${ typeof option.deprecated == 'string' ? ': ' + option.deprecated : ''}.`); + } } } else { let error = `Argument ${key} could not be parsed using value ${JSON.stringify(value)}.`; @@ -285,9 +299,9 @@ export function parseArguments( const ignored: string[] = []; const errors: string[] = []; - const deprecations: string[] = []; + const warnings: string[] = []; - const state = { options, parsedOptions, positionals, leftovers, ignored, errors, deprecations }; + const state = { options, parsedOptions, positionals, leftovers, ignored, errors, warnings }; for (let arg = args.shift(); arg !== undefined; arg = args.shift()) { if (arg == '--') { @@ -369,8 +383,8 @@ export function parseArguments( parsedOptions['--'] = [...positionals, ...leftovers]; } - if (deprecations.length > 0 && logger) { - deprecations.forEach(message => logger.warn(message)); + if (warnings.length > 0 && logger) { + warnings.forEach(message => logger.warn(message)); } if (errors.length > 0) { diff --git a/packages/angular/cli/models/parser_spec.ts b/packages/angular/cli/models/parser_spec.ts index 531fbaa09a7d..70387e6f88c5 100644 --- a/packages/angular/cli/models/parser_spec.ts +++ b/packages/angular/cli/models/parser_spec.ts @@ -6,6 +6,7 @@ * found in the LICENSE file at https://angular.io/license * */ +// tslint:disable:no-global-tslint-disable no-big-function import { logging } from '@angular-devkit/core'; import { Arguments, Option, OptionType } from './interface'; import { ParseArgumentException, parseArguments } from './parser'; @@ -64,6 +65,10 @@ describe('parseArguments', () => { '--str=false val1 val2': { str: 'false', p1: 'val1', p2: 'val2' }, '--str=false val1 val2 --num1': { str: 'false', p1: 'val1', p2: 'val2', '--': ['--num1'] }, '--str=false val1 --num1 val2': { str: 'false', p1: 'val1', '--': ['--num1', 'val2'] }, + '--bool --bool=false': { bool: false }, + '--bool --bool=false --bool': { bool: true }, + '--num=1 --num=2 --num=3': { num: 3 }, + '--str=1 --str=2 --str=3': { str: '3' }, 'val1 --num=1 val2': { num: 1, p1: 'val1', p2: 'val2' }, '--p1=val1 --num=1 val2': { num: 1, p1: 'val1', p2: 'val2' }, '--p1=val1 --num=1 --p2=val2 val3': { num: 1, p1: 'val1', p2: 'val2', '--': ['val3'] }, @@ -74,6 +79,7 @@ describe('parseArguments', () => { ], '--bool val1 --etc --num=1 val2 --v': { bool: true, num: 1, p1: 'val1', p2: 'val2', '--': ['--etc', '--v'] }, + '--arr=a d': { arr: ['a'], p1: 'd' }, '--arr=a --arr=b --arr c d': { arr: ['a', 'b', 'c'], p1: 'd' }, '--arr=1 --arr --arr c d': { arr: ['1', '', 'c'], p1: 'd' }, '--arr=1 --arr --arr c d e': { arr: ['1', '', 'c'], p1: 'd', p2: 'e' }, @@ -197,4 +203,35 @@ describe('parseArguments', () => { expect(messages[1]).toMatch(/\bABCD\b/); messages.shift(); }); + + it('handles a flag being added multiple times', () => { + const options = [ + { name: 'bool', aliases: [], type: OptionType.Boolean, description: '' }, + ]; + + const logger = new logging.Logger(''); + const messages: string[] = []; + + logger.subscribe(entry => messages.push(entry.message)); + + let result = parseArguments(['--bool'], options, logger); + expect(result).toEqual({ bool: true }); + expect(messages).toEqual([]); + + result = parseArguments(['--bool', '--bool'], options, logger); + expect(result).toEqual({ bool: true }); + expect(messages).toEqual([]); + + result = parseArguments(['--bool', '--bool=false'], options, logger); + expect(result).toEqual({ bool: false }); + expect(messages.length).toEqual(1); + expect(messages[0]).toMatch(/\bbool\b.*\btrue\b.*\bfalse\b/); + messages.shift(); + + result = parseArguments(['--bool', '--bool=false', '--bool=false'], options, logger); + expect(result).toEqual({ bool: false }); + expect(messages.length).toEqual(1); + expect(messages[0]).toMatch(/\bbool\b.*\btrue\b.*\bfalse\b/); + messages.shift(); + }); });
71bf855e3fabced7d674698f291d7dab47ebb6cd
2016-11-17 16:55:42
Meligy, GuruStop.NET
fix(generate): revert change to component dir in generate module, as it caused component declaration to go to parent module (#3158)
false
revert change to component dir in generate module, as it caused component declaration to go to parent module (#3158)
fix
diff --git a/packages/angular-cli/blueprints/module/index.js b/packages/angular-cli/blueprints/module/index.js index 3cd3b5646119..1ee4be43aea8 100644 --- a/packages/angular-cli/blueprints/module/index.js +++ b/packages/angular-cli/blueprints/module/index.js @@ -58,8 +58,12 @@ module.exports = { }, afterInstall: function (options) { - options.entity.name = path.relative(this.dynamicPath.appRoot, this.generatePath); - options.flat = false; + // Note that `this.generatePath` already contains `this.dasherizedModuleName` + // So, the path will end like `name/name`, + // which is correct for `name.component.ts` created in module `name` + var componentPath = path.join(this.generatePath, this.dasherizedModuleName); + options.entity.name = path.relative(this.dynamicPath.appRoot, componentPath); + options.flat = true; options.route = false; options.inlineTemplate = false; options.inlineStyle = false; diff --git a/tests/e2e/tests/generate/module/module-basic.ts b/tests/e2e/tests/generate/module/module-basic.ts index 2ba3dfc06313..071c20f3bea7 100644 --- a/tests/e2e/tests/generate/module/module-basic.ts +++ b/tests/e2e/tests/generate/module/module-basic.ts @@ -1,6 +1,6 @@ import {join} from 'path'; import {ng} from '../../../utils/process'; -import {expectFileToExist} from '../../../utils/fs'; +import {expectFileToExist, expectFileToMatch} from '../../../utils/fs'; import {expectToFail} from '../../../utils/utils'; @@ -15,6 +15,7 @@ export default function() { .then(() => expectFileToExist(join(moduleDir, 'test-module.component.spec.ts'))) .then(() => expectFileToExist(join(moduleDir, 'test-module.component.html'))) .then(() => expectFileToExist(join(moduleDir, 'test-module.component.css'))) + .then(() => expectFileToMatch(join(moduleDir, 'test-module.module.ts'), 'TestModuleComponent')) // Try to run the unit tests. .then(() => ng('test', '--single-run'));
39a53b12b962aad93a6f88c324aa169097f789cb
2020-10-27 00:10:33
Alan Agius
build: update build_bazel_rules_nodejs to 2.0.2
false
update build_bazel_rules_nodejs to 2.0.2
build
diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 000000000000..99779f4f5714 --- /dev/null +++ b/.bazelversion @@ -0,0 +1,2 @@ +3.4.1 +# [NB: this comment has to be after the first line, see https://github.com/bazelbuild/bazelisk/issues/117] diff --git a/WORKSPACE b/WORKSPACE index efcecdfb3a7c..f51e4f887095 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Add NodeJS rules (explicitly used for sass bundle rules) http_archive( name = "build_bazel_rules_nodejs", - sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7.0/rules_nodejs-1.7.0.tar.gz"], + sha256 = "6a67a8a1bf6fddc9113f73471029b819eef4575c3a936a4a01d57e411894d692", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.0.2/rules_nodejs-2.0.2.tar.gz"], ) # Setup the NodeJS toolchain @@ -18,15 +18,20 @@ load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "node_repos node_repositories() # The minimum bazel version to use with this repo is 1.1.0 -check_bazel_version(minimum_bazel_version = "1.1.0") +check_bazel_version(minimum_bazel_version = "3.0.0") node_repositories( - # For deterministic builds, specify explicit NodeJS and Yarn versions. - node_version = "10.16.0", + node_repositories = { + "12.14.1-darwin_amd64": ("node-v12.14.1-darwin-x64.tar.gz", "node-v12.14.1-darwin-x64", "0be10a28737527a1e5e3784d3ad844d742fe8b0718acd701fd48f718fd3af78f"), + "12.14.1-linux_amd64": ("node-v12.14.1-linux-x64.tar.xz", "node-v12.14.1-linux-x64", "07cfcaa0aa9d0fcb6e99725408d9e0b07be03b844701588e3ab5dbc395b98e1b"), + "12.14.1-windows_amd64": ("node-v12.14.1-win-x64.zip", "node-v12.14.1-win-x64", "1f96ccce3ba045ecea3f458e189500adb90b8bc1a34de5d82fc10a5bf66ce7e3"), + }, + node_version = "12.14.1", + package_json = ["//:package.json"], yarn_repositories = { - "1.17.3": ("yarn-v1.17.3.tar.gz", "yarn-v1.17.3", "e3835194409f1b3afa1c62ca82f561f1c29d26580c9e220c36866317e043c6f3"), + "1.22.4": ("yarn-v1.22.4.tar.gz", "yarn-v1.22.4", "bc5316aa110b2f564a71a3d6e235be55b98714660870c5b6b2d2d3f12587fb58"), }, - yarn_version = "1.17.3", + yarn_version = "1.22.4", ) yarn_install( @@ -43,20 +48,4 @@ yarn_install( # Install all bazel dependencies of the @ngdeps npm packages load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies") -install_bazel_dependencies() - -# Setup TypeScript toolchain -load("@npm_bazel_typescript//:index.bzl", "ts_setup_workspace") - -ts_setup_workspace() - -# Transitive dep of @npm_bazel_karma -http_archive( - name = "io_bazel_rules_webtesting", - sha256 = "9bb461d5ef08e850025480bab185fd269242d4e533bca75bfb748001ceb343c3", - urls = ["https://github.com/bazelbuild/rules_webtesting/releases/download/0.3.3/rules_webtesting.tar.gz"], -) - -load("@io_bazel_rules_webtesting//web:repositories.bzl", "web_test_repositories") - -web_test_repositories() +install_bazel_dependencies(suppress_warning = True) diff --git a/modules/BUILD.bazel b/modules/BUILD.bazel index 32c350237d1e..6a5dffe95af4 100644 --- a/modules/BUILD.bazel +++ b/modules/BUILD.bazel @@ -1,4 +1,4 @@ -load("@npm_bazel_typescript//:index.bzl", "ts_config") +load("@npm//@bazel/typescript:index.bzl", "ts_config") package(default_visibility = ["//visibility:public"]) diff --git a/package.json b/package.json index 048fd8495823..83610b45fc04 100644 --- a/package.json +++ b/package.json @@ -42,27 +42,27 @@ "@types/node": "12.12.37" }, "devDependencies": { - "@angular-devkit/architect": "^0.1100.0-next.3", - "@angular-devkit/build-angular": "^0.1100.0-next.3", - "@angular-devkit/core": "^11.0.0-next.3", - "@angular-devkit/schematics": "^11.0.0-next.3", - "@angular/animations": "^11.0.0-next.3", - "@angular/bazel": "^11.0.0-next.3", - "@angular/cli": "^11.0.0-next.3", - "@angular/common": "^11.0.0-next.3", - "@angular/compiler": "^11.0.0-next.3", - "@angular/compiler-cli": "^11.0.0-next.3", - "@angular/core": "^11.0.0-next.3", - "@angular/platform-browser": "^11.0.0-next.3", - "@angular/platform-browser-dynamic": "^11.0.0-next.3", - "@angular/platform-server": "^11.0.0-next.3", - "@angular/router": "^11.0.0-next.3", - "@bazel/bazelisk": "1.5.0", - "@bazel/buildifier": "^3.0.0", - "@bazel/hide-bazel-files": "~1.7.0", - "@bazel/ibazel": "^0.13.0", - "@bazel/jasmine": "~1.7.0", - "@bazel/typescript": "~1.7.0", + "@angular-devkit/architect": "^0.1001.0-rc.0", + "@angular-devkit/build-angular": "^0.1001.0-rc.0", + "@angular-devkit/core": "^10.1.0-rc.0", + "@angular-devkit/schematics": "^10.1.0-rc.0", + "@angular/animations": "^10.1.0-rc.0", + "@angular/bazel": "^10.1.0-rc.0", + "@angular/cli": "^10.1.0-rc.0", + "@angular/common": "^10.1.0-rc.0", + "@angular/compiler": "^10.1.0-rc.0", + "@angular/compiler-cli": "^10.1.0-rc.0", + "@angular/core": "^10.1.0-rc.0", + "@angular/platform-browser": "^10.1.0-rc.0", + "@angular/platform-browser-dynamic": "^10.1.0-rc.0", + "@angular/platform-server": "^10.1.0-rc.0", + "@angular/router": "^10.1.0-rc.0", + "@bazel/bazelisk": "1.7.3", + "@bazel/buildifier": "3.5.0", + "@bazel/hide-bazel-files": "1.7.0", + "@bazel/ibazel": "0.13.2", + "@bazel/jasmine": "2.2.2", + "@bazel/typescript": "2.2.2", "@hapi/hapi": "^18.4.0", "@schematics/angular": "^11.0.0-next.3", "@types/browser-sync": "^2.26.1", @@ -78,7 +78,8 @@ "express": "^4.15.2", "guess-parser": "^0.4.12", "http-proxy-middleware": "^1.0.0", - "jasmine-core": "^3.0.0", + "jasmine": "^3.6.0", + "jasmine-core": "^3.6.0", "minimatch": "^3.0.4", "node-fetch": "^2.6.1", "protractor": "7.0.0", diff --git a/tools/defaults.bzl b/tools/defaults.bzl index 45993fab5b86..073b97f5b23b 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -1,10 +1,10 @@ """Re-export of some bazel rules with repository-wide defaults.""" -load("@npm_angular_bazel//:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package") +load("@npm//@angular/bazel:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package") load("@build_bazel_rules_nodejs//:index.bzl", _pkg_npm = "pkg_npm") -load("@npm_bazel_jasmine//:index.bzl", _jasmine_node_test = "jasmine_node_test") +load("@npm//@bazel/jasmine:index.bzl", _jasmine_node_test = "jasmine_node_test") load( - "@npm_bazel_typescript//:index.bzl", + "@npm//@bazel/typescript:index.bzl", _ts_library = "ts_library", ) diff --git a/yarn.lock b/yarn.lock index 042704723831..e4097adf2be8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,111 +2,136 @@ # yarn lockfile v1 -"@angular-devkit/[email protected]", "@angular-devkit/architect@^0.1100.0-next.3": - version "0.1100.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1100.0-next.3.tgz#790d7fb22fac4bd9d79b9fadfee6f8712bd6a8ab" - integrity sha512-kAM1TsWimutPcE1AH28D9u47h/E4aPX0ivQ65R7xJGbHvdv7M9LlHjni2Uk2uJ6hNRTZV9XcBCndvKymkMbSwg== - dependencies: - "@angular-devkit/core" "11.0.0-next.3" - rxjs "6.6.3" - -"@angular-devkit/build-angular@^0.1100.0-next.3": - version "0.1100.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.1100.0-next.3.tgz#e1a5c7ade4dc3cb5ed453de3dcc78f6c73dc9d52" - integrity sha512-4nT+Ym0T96Ko92+QUQM6CpEIC1vkj1LX3NA6ZmTyGA1P7mUAGaVvFN15JoKqMoUdvLy9UcL768kX2XKcWt6U/g== - dependencies: - "@angular-devkit/architect" "0.1100.0-next.3" - "@angular-devkit/build-optimizer" "0.1100.0-next.3" - "@angular-devkit/build-webpack" "0.1100.0-next.3" - "@angular-devkit/core" "11.0.0-next.3" - "@babel/core" "7.11.6" - "@babel/generator" "7.11.6" - "@babel/plugin-transform-runtime" "7.11.5" - "@babel/preset-env" "7.11.5" +"@angular-devkit/[email protected]", "@angular-devkit/architect@^0.1001.0-rc.0": + version "0.1001.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1001.7.tgz#b3d75cddf5c5a2677cebba1d7b7eaffe73748d37" + integrity sha512-uFYIvMdewU44GbIyRfsUHNMLkx+C0kokpnj7eH5NbJfbyFpCfd3ijBHh+voPdPsDRWs9lLgjbxfHpswSPj4D8w== + dependencies: + "@angular-devkit/core" "10.1.7" + rxjs "6.6.2" + +"@angular-devkit/[email protected]": + version "0.1002.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1002.0.tgz#470b78aaf79308a23da6a0d3935f2d1f85dcb212" + integrity sha512-twM8V03ujBIGVpgV1PBlSDodUdxtUb7WakutfWafAvEHUsgwzfvQz2VtKWvjNZ9AiYjnCuwkQaclqVv0VHNo9w== + dependencies: + "@angular-devkit/core" "10.2.0" + rxjs "6.6.2" + +"@angular-devkit/build-angular@^0.1001.0-rc.0": + version "0.1001.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.1001.7.tgz#0cfbdb24bdf118de05277e3a4b3dcfe0be2f672c" + integrity sha512-0y1m7Y2HiB4BhRaVJbqqf/IXAEAisEeATwCd9NrhixZeBFT1tJa5sZAxKl8HTIEXbWZp4QKLVa+PMhvsGC68zQ== + dependencies: + "@angular-devkit/architect" "0.1001.7" + "@angular-devkit/build-optimizer" "0.1001.7" + "@angular-devkit/build-webpack" "0.1001.7" + "@angular-devkit/core" "10.1.7" + "@babel/core" "7.11.1" + "@babel/generator" "7.11.0" + "@babel/plugin-transform-runtime" "7.11.0" + "@babel/preset-env" "7.11.0" "@babel/runtime" "7.11.2" "@babel/template" "7.10.4" "@jsdevtools/coverage-istanbul-loader" "3.0.5" - "@ngtools/webpack" "11.0.0-next.3" - ansi-colors "4.1.1" + "@ngtools/webpack" "10.1.7" autoprefixer "9.8.6" babel-loader "8.1.0" browserslist "^4.9.1" cacache "15.0.5" caniuse-lite "^1.0.30001032" circular-dependency-plugin "5.2.0" - copy-webpack-plugin "6.1.1" + copy-webpack-plugin "6.0.3" core-js "3.6.4" - css-loader "4.3.0" + css-loader "4.2.2" cssnano "4.1.10" - file-loader "6.1.0" + file-loader "6.0.0" find-cache-dir "3.3.1" glob "7.1.6" - inquirer "7.3.3" jest-worker "26.3.0" karma-source-map-support "1.4.0" - less "3.12.2" - less-loader "7.0.1" + less-loader "6.2.0" license-webpack-plugin "2.3.0" loader-utils "2.0.0" - mini-css-extract-plugin "0.11.2" + mini-css-extract-plugin "0.10.0" minimatch "3.0.4" - open "7.2.1" - ora "5.1.0" + open "7.2.0" parse5 "6.0.1" parse5-htmlparser2-tree-adapter "6.0.1" pnp-webpack-plugin "1.6.4" postcss "7.0.32" postcss-import "12.0.1" - postcss-loader "4.0.2" + postcss-loader "3.0.0" raw-loader "4.0.1" regenerator-runtime "0.13.7" resolve-url-loader "3.1.1" rimraf "3.0.2" - rollup "2.28.1" - rxjs "6.6.3" - sass "1.26.11" - sass-loader "10.0.2" + rollup "2.26.5" + rxjs "6.6.2" + sass "1.26.10" + sass-loader "10.0.1" semver "7.3.2" source-map "0.7.3" - source-map-loader "1.1.0" + source-map-loader "1.0.2" source-map-support "0.5.19" speed-measure-webpack-plugin "1.3.3" style-loader "1.2.1" stylus "0.54.8" stylus-loader "3.0.2" - terser "5.3.2" - terser-webpack-plugin "4.2.2" - text-table "0.2.0" + terser "5.3.0" + terser-webpack-plugin "4.1.0" tree-kill "1.2.2" - webpack "4.44.2" + webpack "4.44.1" webpack-dev-middleware "3.7.2" webpack-dev-server "3.11.0" - webpack-merge "5.1.4" + webpack-merge "4.2.2" webpack-sources "1.4.3" webpack-subresource-integrity "1.4.1" worker-plugin "5.0.0" -"@angular-devkit/[email protected]": - version "0.1100.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.1100.0-next.3.tgz#e89a1fbb45a0a470c935cb50f6ccafa9e75a3093" - integrity sha512-mg89+53GegdM1qB/zZunvUy64+Ws7VBaCd9benJ6zPqLwgcC/PaW7rulnuMhkwP60GqGjyBG5rEoBrF1XiC2PA== +"@angular-devkit/[email protected]": + version "0.1001.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.1001.7.tgz#fc7a9de9aece2ecf1d259cf06085b045833374c3" + integrity sha512-QkjWbX44mR9fnKbgq93ikTKWCMk9HFVDMVTgoponLqVmjOz614K0ya6ZR3pNvA0RAwGxmKA79zgqUkqEHaQDbw== dependencies: loader-utils "2.0.0" source-map "0.7.3" tslib "2.0.1" - typescript "4.0.3" + typescript "4.0.2" webpack-sources "1.4.3" -"@angular-devkit/[email protected]": - version "0.1100.0-next.3" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.1100.0-next.3.tgz#54b218552b5fbea58c51dde3a67691289eda615d" - integrity sha512-R5ARg1OSTLXlTIhjXZHfGJnB3MIZB/1QhoLRyEDfj+ObRMExKhb8tvopij3RyLv6oDTb7qc7vghlp8M6wFUzlw== +"@angular-devkit/[email protected]": + version "0.1001.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.1001.7.tgz#3414b13564948fc0b114d50db43362044e86792a" + integrity sha512-2EUOkijukSVXJlMk5PTWlbAcTdMZ9dddRj4XoTLX1N/ZL5qBSE8BN+Jf5We/NPkAdq2apU8Crl9BuGcVeK4wOA== dependencies: - "@angular-devkit/architect" "0.1100.0-next.3" - "@angular-devkit/core" "11.0.0-next.3" - rxjs "6.6.3" + "@angular-devkit/architect" "0.1001.7" + "@angular-devkit/core" "10.1.7" + rxjs "6.6.2" -"@angular-devkit/[email protected]", "@angular-devkit/core@^11.0.0-next.3": +"@angular-devkit/[email protected]": + version "10.1.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-10.1.7.tgz#c4c4332d738075bf1346aa040c78756e3144ba4b" + integrity sha512-RRyDkN2FByA+nlnRx/MzUMK1FXwj7+SsrzJcvZfWx4yA5rfKmJiJryXQEzL44GL1aoaXSuvOYu3H72wxZADN8Q== + dependencies: + ajv "6.12.4" + fast-json-stable-stringify "2.1.0" + magic-string "0.25.7" + rxjs "6.6.2" + source-map "0.7.3" + +"@angular-devkit/[email protected]", "@angular-devkit/core@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-10.2.0.tgz#fcde160afc2786d2da0166526f065c6cf98684c0" + integrity sha512-XAszFhSF3mZw1VjoOsYGbArr5NJLcStjOvcCGjBPl1UBM2AKpuCQXHxI9XJGYKL3B93Vp5G58d8qkHvamT53OA== + dependencies: + ajv "6.12.4" + fast-json-stable-stringify "2.1.0" + magic-string "0.25.7" + rxjs "6.6.2" + source-map "0.7.3" + +"@angular-devkit/[email protected]": version "11.0.0-next.3" resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-11.0.0-next.3.tgz#618c7d3b933629616903dc0c5f869fbe12b26733" integrity sha512-emg62aiYJ4EmK1fqegPAK0bRQp0j0Ybnc64wZG78+Sj4jHTgNuKjfm7Hns8EVIoEpDyJXI3mQR/4YEvCkeK3rQ== @@ -117,7 +142,16 @@ rxjs "6.6.3" source-map "0.7.3" -"@angular-devkit/[email protected]", "@angular-devkit/schematics@^11.0.0-next.3": +"@angular-devkit/[email protected]", "@angular-devkit/schematics@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-10.2.0.tgz#a45f316bbaa54cbabc06e2e54b04e1c8d103bc0b" + integrity sha512-TQI5NnE6iM3ChF5gZQ9qb+lZgMWa7aLoF5ksOyT3zrmOuICiQYJhA6SsjV95q7J4M55qYymwBib8KTqU/xuQww== + dependencies: + "@angular-devkit/core" "10.2.0" + ora "5.0.0" + rxjs "6.6.2" + +"@angular-devkit/[email protected]": version "11.0.0-next.3" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-11.0.0-next.3.tgz#25352ba6a509ef3603fc860ec8dc9f5061312fa4" integrity sha512-JC03gngxC7/2gkgS8JryyB+dMykEpsEP1HhjPrz7eMPQAboWcnTOMKl8auOH8NDUpq4/aUrePG702Lk9AEROgQ== @@ -126,59 +160,59 @@ ora "5.1.0" rxjs "6.6.3" -"@angular/animations@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-11.0.0-next.3.tgz#0932c5cb2cc191e2b549223b9b55d64aa9959bb3" - integrity sha512-PNInK5zAuEXlClE5GgGHgXgG3VccDTida90jPYQsB3peiCSPDMl7dtEMtK+QT40t933mw+IsooM5mPd9kk1Frw== +"@angular/animations@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-10.2.0.tgz#7d60e8261cccc9a348699f23bc40b8d5c569baaa" + integrity sha512-lKjC2Jm2Al4GCW2zKutdskMWqe5S23gknPvp65ybmR5D1Pz/YgzDOHXmTHqDn5qXJgzpFt/fJgNi805XrAOm4g== dependencies: tslib "^2.0.0" -"@angular/bazel@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/bazel/-/bazel-11.0.0-next.3.tgz#8e2bb5a60652556f607cede33bad62b3be165f23" - integrity sha512-K+OsDopXjkTAOP/YV5p6kf15QcYVePXDn6ikFn5SniFV1LLfETSFaKifhsqoLMgI2uwKmXyEsHbzfr2X5WJS5w== +"@angular/bazel@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/bazel/-/bazel-10.2.0.tgz#c1f7832b57d43fed8004637c9b33f7ab2ad91a5d" + integrity sha512-zVJlqs7eTnH5d4bc3bZ3l91Qus8e0SuoYsgBeoKedGnD25A0JWL3xF4nO5pKJVJ46N2EHXH+3tyYrTQq9zK1bA== dependencies: "@microsoft/api-extractor" "^7.7.13" shelljs "0.8.2" tsickle "^0.38.0" -"@angular/cli@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-11.0.0-next.3.tgz#3039770901fa824c41b38d6c12a07f1abc933a78" - integrity sha512-tpzDdYXjvS3/5/ftPkXwEKLk6wlJWFz6fYmoRntYhDjK/uLzDl7LmOq6UC/WbZi13/73Q8Z3UX8gzJK4qHqsFA== - dependencies: - "@angular-devkit/architect" "0.1100.0-next.3" - "@angular-devkit/core" "11.0.0-next.3" - "@angular-devkit/schematics" "11.0.0-next.3" - "@schematics/angular" "11.0.0-next.3" - "@schematics/update" "0.1100.0-next.3" +"@angular/cli@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-10.2.0.tgz#b0b465120eb9a39e5efd030bf80c023c630960ed" + integrity sha512-YBzwkFBmG6CdUJk8onsPXxHX/ByU5MERBQgYhLC873e2nZlXMUu+Ttq2Wai6apyskGvsXKxZNPOQSFZTGKXzXg== + dependencies: + "@angular-devkit/architect" "0.1002.0" + "@angular-devkit/core" "10.2.0" + "@angular-devkit/schematics" "10.2.0" + "@schematics/angular" "10.2.0" + "@schematics/update" "0.1002.0" "@yarnpkg/lockfile" "1.1.0" ansi-colors "4.1.1" - debug "4.2.0" + debug "4.1.1" ini "1.3.5" inquirer "7.3.3" npm-package-arg "8.0.1" npm-pick-manifest "6.1.0" - open "7.2.1" + open "7.2.0" pacote "9.5.12" - resolve "1.17.0" + read-package-tree "5.3.1" rimraf "3.0.2" semver "7.3.2" - symbol-observable "2.0.1" + symbol-observable "1.2.0" universal-analytics "0.4.23" uuid "8.3.0" -"@angular/common@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-11.0.0-next.3.tgz#32c0a74befebe7bbde3c5be3a59240c1e5c27a2b" - integrity sha512-tVoy0yZC0Vx/Def+kLn7Z86rSRt9uU4Bj3O4qmj6FgNQCxzVc0oxjoA2X1iQ4XrhCXuPHHFdRubEvqM1CRF/gQ== +"@angular/common@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.2.0.tgz#f9f50363a1fc5051750fd290ab8ea907ff9003ea" + integrity sha512-4q7cb6Z18R1nQ8dN8uj6cckuk4jzY40lF7kpxf/wja0pQBUBtWwExwXsdHTVWGZ/mgQv9a5dTAPQq8/tSmf+hw== dependencies: tslib "^2.0.0" -"@angular/compiler-cli@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-11.0.0-next.3.tgz#8eeeeec677ed1a329c95deca5e6922040c578767" - integrity sha512-hh3nYBX64s+gwz0hQsyaNT4vPPxEMO7kQEHalGnYgbZFaMmJOoFojXu/ShMZ1OkOYwTMQTeNU5ID40dVO9q7lA== +"@angular/compiler-cli@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-10.2.0.tgz#ab3504df42bd23aa0916d3b78281ce20b2fa1473" + integrity sha512-NWTNg15LLL14MgooXV1Xb4w49I4OAfWakcc0J7XQm3B3mRFuue/UfXE9dKMStenTfmtUnNO9c+xjZRhTWYJkfw== dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -194,47 +228,47 @@ tslib "^2.0.0" yargs "15.3.0" -"@angular/compiler@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-11.0.0-next.3.tgz#3e128ce0451b30d7ea73dd2c16813b57b9182a28" - integrity sha512-Ldtmpg8WuDpKVaWawjfZbU43oOb2kVaZOBbQBiUlS1M1arfjcPnPKZlaJnF1VSvjWeJBOG8b1Fl2BmBJJDPdwQ== +"@angular/compiler@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-10.2.0.tgz#1cd4e6b528494514c016be4c83b1dfbeb13681b5" + integrity sha512-r+zNEDJmfH7pyQULgs6iQgMv/zH/CokepTuemrVbBKkUjd8F9Q84XdflR2Tx2rukiAAl4B0BuG+v4tSb9pR1WQ== dependencies: tslib "^2.0.0" -"@angular/core@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-11.0.0-next.3.tgz#9b5597f1070c203901b57cb51dbb934039a92aaf" - integrity sha512-Eolf7pHDEdQMbjEm9G3cAruJV3/6VpNLAXPw22ANHU9chrw05m73O2nDmfeA44jYaKV5TRMiWQEVSH9Ep4o9tQ== +"@angular/core@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-10.2.0.tgz#a5eac8b37ef5268f90e45e06b1a4d48ab55f31dc" + integrity sha512-pj+0cIDHMfeTFFrxbxM1qanSqhnA3ybCYMQm+Fs/WAPlLSvB6s/vVhq6tCdicHzd7/fujGXPcb8Hvtx+km8TqQ== dependencies: tslib "^2.0.0" -"@angular/platform-browser-dynamic@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-11.0.0-next.3.tgz#22bea49c03c4c43c195d838d6364a0aba499f958" - integrity sha512-pAJhXpBi2qfOb0FL5B1vyczt2NkBTd/dmS6rxDDAi1OKg3JILHkN1ALcY0UXSjODVIlMdwvH7nBOEZ8c+xU5hQ== +"@angular/platform-browser-dynamic@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-10.2.0.tgz#08ccd67fecc0269b1335e8efb1b7ef6d06a7f389" + integrity sha512-S1yBpoJjQcGrvkoHhy+We1lMi/TONzSAUTYz05WexDC6N8eLX4NpbjOUHxtYH5JfXltQ2B32zycyjwyB2t2ulA== dependencies: tslib "^2.0.0" -"@angular/platform-browser@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-11.0.0-next.3.tgz#b156f1ab30d9944901a5680c2ac7e61c737c102a" - integrity sha512-IbbQM5pL3m3ct6YEnWXeDuVSKEiZvsMnhcXg6ntF4gaBwC8iQHBrZXcS6NKsObEP3Qf1IvJnhiMmAzQvhBVr9w== +"@angular/platform-browser@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-10.2.0.tgz#ae1a32506dcce321eb6e8acb151db95fedc6da91" + integrity sha512-GqO4MH7sddzvirr6AwxPXIfFFQp1+Xs5BCguSajyqt7i1j7vA0mKvFCvO7tIYmJmepWa0YPs9cXtq8nxDAoqVA== dependencies: tslib "^2.0.0" -"@angular/platform-server@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-11.0.0-next.3.tgz#86bf4e494878ec59f89ce0fd6f5fdc8ee9b275f7" - integrity sha512-T6o1x5kpZe8XYj1COeEZ+ThZS9D7Z1S03XKZjpMxxEfLKIADCRYycKHUjih3QQMsmvoB4g9Qm+r9eUaw/lEMLw== +"@angular/platform-server@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-10.2.0.tgz#36153c8b5486f7cd484ec09280e2395b0a43ff1a" + integrity sha512-eIc7xiGPylQ6uExx+LeTOHFRDtsbRe4sqgbjsfmlQfvxuVbYRzacXctvymjqr1cGzYW+CpB/3eQoz7uX/BGOog== dependencies: domino "^2.1.2" tslib "^2.0.0" xhr2 "^0.2.0" -"@angular/router@^11.0.0-next.3": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-11.0.0-next.3.tgz#6cae86104fdf682d19d1a44cd53fe0a4f19da8f9" - integrity sha512-fPH0SoF0fMG/iRX948ZpPbNMZ/oE28JVsLCSlrUJv/57dypr7YHu3l4uPOtB5d0grjmxokpiqsvFeBCt8Is6tQ== +"@angular/router@^10.1.0-rc.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-10.2.0.tgz#e8e9d0999846d71283298c7d58f8614d8c8c248d" + integrity sha512-iAaJqcFrwduL1YopLrw4ax6kWd2FrqcGjcf0GY2ZUEEcwo5hQVMrKAt7MUJPVHGZf+OzSYJBgP7ApU60oZ43AA== dependencies: tslib "^2.0.0" @@ -254,7 +288,29 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/[email protected]", "@babel/core@^7.7.5": +"@babel/[email protected]": + version "7.11.1" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.1.tgz#2c55b604e73a40dc21b0e52650b11c65cf276643" + integrity sha512-XqF7F6FWQdKGGWAzGELL+aCO1p+lRY5Tj5/tbT3St1G8NaH70jhhDIKknIZaDans0OQBG5wRAldROLHSt44BgQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.11.0" + "@babel/helper-module-transforms" "^7.11.0" + "@babel/helpers" "^7.10.4" + "@babel/parser" "^7.11.1" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.11.0" + "@babel/types" "^7.11.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.19" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/core@^7.7.5": version "7.11.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.6.tgz#3a9455dc7387ff1bac45770650bc13ba04a15651" integrity sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg== @@ -276,7 +332,25 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/[email protected]", "@babel/generator@^7.11.5", "@babel/generator@^7.11.6": +"@babel/[email protected]": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.11.0.tgz#4b90c78d8c12825024568cbe83ee6c9af193585c" + integrity sha512-fEm3Uzw7Mc9Xi//qU20cBKatTfs2aOtKqmvy/Vm7RkJEGFQ4xc9myCfbXxqK//ZS8MR/ciOHw6meGASJuKmDfQ== + dependencies: + "@babel/types" "^7.11.0" + jsesc "^2.5.1" + source-map "^0.5.0" + +"@babel/generator@^7.11.0", "@babel/generator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.1.tgz#0d70be32bdaa03d7c51c8597dda76e0df1f15468" + integrity sha512-DB+6rafIdc9o72Yc3/Ph5h+6hUjeOp66pF0naQBgUFFuPqzQwIlPTm3xZR7YNvduIMtkDIj2t21LSQwnbCrXvg== + dependencies: + "@babel/types" "^7.12.1" + jsesc "^2.5.1" + source-map "^0.5.0" + +"@babel/generator@^7.11.5", "@babel/generator@^7.11.6": version "7.11.6" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.11.6.tgz#b868900f81b163b4d464ea24545c61cbac4dc620" integrity sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA== @@ -497,6 +571,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.5.tgz#c7ff6303df71080ec7a4f5b8c003c58f1cf51037" integrity sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q== +"@babel/parser@^7.11.1", "@babel/parser@^7.12.1": + version "7.12.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.3.tgz#a305415ebe7a6c7023b40b5122a0662d928334cd" + integrity sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw== + "@babel/plugin-proposal-async-generator-functions@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz#3491cabf2f7c179ab820606cec27fed15e0e8558" @@ -886,10 +965,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/[email protected]": - version "7.11.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz#f108bc8e0cf33c37da031c097d1df470b3a293fc" - integrity sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg== +"@babel/[email protected]": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.0.tgz#e27f78eb36f19448636e05c33c90fd9ad9b8bccf" + integrity sha512-LFEsP+t3wkYBlis8w6/kmnd6Kb1dxTd+wGJ8MlxTGzQo//ehtqlVL4S9DNUa53+dtPSQobN2CXx4d81FqC58cw== dependencies: "@babel/helper-module-imports" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" @@ -949,10 +1028,10 @@ "@babel/helper-create-regexp-features-plugin" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/[email protected]": - version "7.11.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.5.tgz#18cb4b9379e3e92ffea92c07471a99a2914e4272" - integrity sha512-kXqmW1jVcnB2cdueV+fyBM8estd5mlNfaQi6lwLgRwCby4edpavgbFhiBNjmWA3JpB/yZGSISa7Srf+TwxDQoA== +"@babel/[email protected]": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.0.tgz#860ee38f2ce17ad60480c2021ba9689393efb796" + integrity sha512-2u1/k7rG/gTh02dylX2kL3S0IJNF+J6bfDSp4DI2Ma8QN6Y9x9pmAax59fsCk6QUQG0yqH47yJWA+u1I1LccAg== dependencies: "@babel/compat-data" "^7.11.0" "@babel/helper-compilation-targets" "^7.10.4" @@ -1016,7 +1095,7 @@ "@babel/plugin-transform-unicode-escapes" "^7.10.4" "@babel/plugin-transform-unicode-regex" "^7.10.4" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.11.5" + "@babel/types" "^7.11.0" browserslist "^4.12.0" core-js-compat "^3.6.2" invariant "^2.2.2" @@ -1065,6 +1144,21 @@ globals "^11.1.0" lodash "^4.17.19" +"@babel/traverse@^7.11.0": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.1.tgz#941395e0c5cc86d5d3e75caa095d3924526f0c1e" + integrity sha512-MA3WPoRt1ZHo2ZmoGKNqi20YnPt0B1S0GTZEPhhd+hw2KGUzBlHuVunj6K4sNuK+reEvyiPwtp0cpaqLzJDmAw== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.12.1" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/parser" "^7.12.1" + "@babel/types" "^7.12.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.19" + "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.11.5", "@babel/types@^7.4.4": version "7.11.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.5.tgz#d9de577d01252d77c6800cee039ee64faf75662d" @@ -1074,46 +1168,58 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@bazel/[email protected]": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@bazel/bazelisk/-/bazelisk-1.5.0.tgz#61f583ed93be138b47be7180403938ea4057f54b" - integrity sha512-qhOGN1WmfZYNJXGrRL/0byii9hX5FBomMv3WWI2OEL2+Bxm4t/bR3zMxN3xwQX1C8meSSrAfKGSzxVOZfpJsOg== +"@babel/types@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.1.tgz#e109d9ab99a8de735be287ee3d6a9947a190c4ae" + integrity sha512-BzSY3NJBKM4kyatSOWh3D/JJ2O3CVzBybHWxtgxnggaxEuaSTTDqeiSb/xk9lrkw2Tbqyivw5ZU4rT+EfznQsA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + lodash "^4.17.19" + to-fast-properties "^2.0.0" -"@bazel/buildifier@^3.0.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@bazel/buildifier/-/buildifier-3.4.0.tgz#44ce98b33bf8057f5398a78f7d1c564760b43f6c" - integrity sha512-TdugkgxAIxSyXSBZcLlntQKJ/rGV3LSMjlYuvRr3YtQBn/2sIfpHX0dcNZ7zdCPkev9cK0kpEs42MkmKHY9peQ== +"@bazel/[email protected]": + version "1.7.3" + resolved "https://registry.yarnpkg.com/@bazel/bazelisk/-/bazelisk-1.7.3.tgz#51d99286326e15434ce10c54c1ee598c4ab1f694" + integrity sha512-A+QLZvKifKnbFawH5aaCnooPx0Ia5JS3S8SckKB034GVB3BjtUTCwjaxzxG3ARQ6Jq1vDcQwWgF2bjT9FjrdDg== -"@bazel/hide-bazel-files@~1.7.0": +"@bazel/[email protected]": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@bazel/buildifier/-/buildifier-3.5.0.tgz#afbee61d61543d0a0a28e2b29a5cbdb64c852953" + integrity sha512-cbUS0/GMg57g6NIg6JekgmqVtuobYzW4aGHk7KzMS/bFZvxg6WY19JJ5UZSzGyAGDu2152oUTFbh4WN74Fz1+Q== + +"@bazel/[email protected]": version "1.7.0" resolved "https://registry.yarnpkg.com/@bazel/hide-bazel-files/-/hide-bazel-files-1.7.0.tgz#7cb140c23c4269d6464c24be0a2acf0241d2a31d" integrity sha512-pvdyRX/EsU8n+oElFb+OZ9i5M48HNFR+Z4D3vc0qDGiJ8oly9fZcUb2gbw4CzyeovJz0IzjSxjqMS6cp5gKoeg== -"@bazel/ibazel@^0.13.0": +"@bazel/[email protected]": version "0.13.2" resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.13.2.tgz#eb914c41c66af4606db786457a7b130634355e8f" integrity sha512-q5fGwjTY76MLNcYpF2zEu/y1Clu4DjdjhvJM9+yDKc3+3mBlbX+uiMJYiCz5b0oSYdJTlw1QSRptTYA7CID8EQ== -"@bazel/jasmine@~1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-1.7.0.tgz#429df76e6628aa139176340434729cc091e371d7" - integrity sha512-LXq6nfBBEczjsDLwFW9kesGdewRrnFiAOZzXAAivCV3xtq516xK4QnVWA9tQGq+R1DnY50IaODpCJhh8PDezdg== +"@bazel/[email protected]": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-2.2.2.tgz#32e7ec7af3549dd739c9ea74a9f2103589a91c62" + integrity sha512-etcJVYSf0ix3QstY7A5K1eUwKeIB1gOQpCZw2kCDsaKeiYcyRTusgqG3EHQdHBEytEV/FIP8LJ6CwahpJ0vg/Q== dependencies: - jasmine "~3.5.0" - jasmine-core "~3.5.0" + c8 "~7.1.0" jasmine-reporters "~2.3.2" - v8-coverage "1.0.9" -"@bazel/typescript@~1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.7.0.tgz#8dc02b8a161f4fff3285186066b5f73666793452" - integrity sha512-M6JPXJZ+W6457QZfPHmGg/Mejnp7//YTnffGmnmeK9vDqybXeCCRWW1/iEOwopLJYQViBHfaoulde0VXelx9sA== +"@bazel/[email protected]": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-2.2.2.tgz#c7cd49cb630ca3720c04c94046ba8ca4c0d5b0aa" + integrity sha512-hkx/7L3s8q5gIgaSFmkUZWPqdKmdJmQ04GaLnsI/YEp9EhPObqATSKnOHeDdT7bzqLO7giDAwAiXhEmsO1Smcw== dependencies: protobufjs "6.8.8" semver "5.6.0" source-map-support "0.5.9" tsutils "2.27.2" +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + "@hapi/accept@^3.2.4": version "3.2.4" resolved "https://registry.yarnpkg.com/@hapi/accept/-/accept-3.2.4.tgz#687510529493fe1d7d47954c31aff360d9364bd1" @@ -1478,13 +1584,13 @@ resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.12.19.tgz#2173ccb92469aaf62031fa9499d21b16d07f9b57" integrity sha512-IpgPxHrNxZiMNUSXqR1l/gePKPkfAmIKoDRP9hp7OwjU29ZR8WCJsOJ8iBKgw0Qk+pFwR+8Y1cy8ImLY6e9m4A== -"@ngtools/[email protected]": - version "11.0.0-next.3" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-11.0.0-next.3.tgz#0db0e132b3f989b7ad72749fc31c7b0cc2089336" - integrity sha512-A1jt/B/4M0nyOjaTrjgM6Ta2MtgNWh5XCIm5G7o06L+7oLQKCy+ju5+ZrI0wohFBWaqzaBQDxoURBLXtYTSzDg== +"@ngtools/[email protected]": + version "10.1.7" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-10.1.7.tgz#0778473a92f49ba72a56167104dcfb26ed7cebb0" + integrity sha512-J/ePcuUfrh0tgnZ+Em4Rv0UYb8wBHARk//K0eVr/Qk5ziWEcYyOW3w3Hz6FbxwIElXvkj+/C9GOb1SapkzlEXg== dependencies: - "@angular-devkit/core" "11.0.0-next.3" - enhanced-resolve "5.0.0" + "@angular-devkit/core" "10.1.7" + enhanced-resolve "4.3.0" webpack-sources "1.4.3" "@nodelib/[email protected]": @@ -1602,7 +1708,16 @@ colors "~1.2.1" string-argv "~0.3.1" -"@schematics/[email protected]", "@schematics/angular@^11.0.0-next.3": +"@schematics/[email protected]": + version "10.2.0" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-10.2.0.tgz#30fb6ab3500592a243b9a19398b7c724ee6b3be7" + integrity sha512-rJRTTTL8CMMFb3ebCvAVHKHxuNzRqy/HtbXhJ82l5Xo/jXcm74eV2Q0RBUrNo1yBKWFIR+FIwiXLJaGcC/R9Pw== + dependencies: + "@angular-devkit/core" "10.2.0" + "@angular-devkit/schematics" "10.2.0" + jsonc-parser "2.3.0" + +"@schematics/angular@^11.0.0-next.3": version "11.0.0-next.3" resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-11.0.0-next.3.tgz#cf0bfcecf7754ef671be308d99d79272bb4cd5c2" integrity sha512-CG48GZa5Q8A3wzdltWAv8vFvu0SJUVnY7XyvijImU48XBJmVUq3lwJnSbUYl0QgXI4EjdOlIpJ1i3hZI8pI8JQ== @@ -1611,13 +1726,13 @@ "@angular-devkit/schematics" "11.0.0-next.3" jsonc-parser "2.3.1" -"@schematics/[email protected]": - version "0.1100.0-next.3" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.1100.0-next.3.tgz#0993a42b9106f62269ca4c771a2161e7b7029371" - integrity sha512-tMbSI52VV5IMAO2mzhv9Bb7Z0GTJ42LP91ulPdZGBpt+f1sR7ejiZALK0fM3HE9/eOLeT4Aw6uWgsajdJL3GBg== +"@schematics/[email protected]": + version "0.1002.0" + resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.1002.0.tgz#ff4c134afe1796960f51308ff4e07218f70a6bbd" + integrity sha512-g2bfJSAj3x/YL0GNhnHsDSQmO6DoxSnLxoFLqNN5+ukxK5jq7OZNDwMJGxZ3X6RcSMWKEkIKL/wlq9yhj2T/kw== dependencies: - "@angular-devkit/core" "11.0.0-next.3" - "@angular-devkit/schematics" "11.0.0-next.3" + "@angular-devkit/core" "10.2.0" + "@angular-devkit/schematics" "10.2.0" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" npm-package-arg "^8.0.0" @@ -1768,6 +1883,16 @@ dependencies: "@types/node" "*" +"@types/is-windows@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/is-windows/-/is-windows-1.0.0.tgz#1011fa129d87091e2f6faf9042d6704cdf2e7be0" + integrity sha512-tJ1rq04tGKuIJoWIH0Gyuwv4RQ3+tIu7wQrC0MV47raQ44kIzXSSFKfrxFUOWVRvesoF7mrTqigXmqoZJsXwTg== + +"@types/istanbul-lib-coverage@^2.0.1": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762" + integrity sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw== + "@types/jasmine@^3.4.4": version "3.5.14" resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.5.14.tgz#f41a14e8ffa939062a71cf9722e5ee7d4e1f94af" @@ -1834,11 +1959,6 @@ resolved "https://registry.yarnpkg.com/@types/parse-glob/-/parse-glob-3.0.29.tgz#6a40ec7ebd2418ee69ee397e48e42169268a10bf" integrity sha1-akDsfr0kGO5p7jl+SOQhaSaKEL8= -"@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - "@types/parse5@*": version "5.0.3" resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-5.0.3.tgz#e7b5aebbac150f8b5fdd4a46e7f0bd8e65e19109" @@ -2100,7 +2220,7 @@ JSONStream@^1.3.4: jsonparse "^1.2.0" through ">=2.2.7 <3" -abab@^2.0.3, abab@^2.0.4: +abab@^2.0.3: version "2.0.5" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== @@ -2201,6 +2321,16 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== [email protected]: + version "6.12.4" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.4.tgz#0614facc4522127fa713445c6bfd3ebd376e2234" + integrity sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + [email protected], ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4: version "6.12.5" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.5.tgz#19b0e8bae8f476e5ba666300387775fb1a00a4da" @@ -2243,11 +2373,6 @@ ansi-regex@^2.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= -ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= - ansi-regex@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" @@ -2373,6 +2498,11 @@ arrify@^1.0.0: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +asap@^2.0.0: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= + asn1.js@^5.2.0: version "5.4.1" resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" @@ -2903,7 +3033,26 @@ [email protected]: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== [email protected], cacache@^15.0.5: +c8@~7.1.0: + version "7.1.2" + resolved "https://registry.yarnpkg.com/c8/-/c8-7.1.2.tgz#3fd785e8d264175ceffe92c74607f5cfb12f018d" + integrity sha512-lCEwL9lbvWOQLxoLw8RF7PM8Cdj+rKxRp/PyWC9S8xASvYHRwXQ2gxzsNTgLhQM1Utc1YDAjzQYPQIxVEyelGg== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@istanbuljs/schema" "^0.1.2" + find-up "^4.0.0" + foreground-child "^2.0.0" + furi "^2.0.0" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-report "^3.0.0" + istanbul-reports "^3.0.2" + rimraf "^3.0.0" + test-exclude "^6.0.0" + v8-to-istanbul "^4.1.2" + yargs "^15.0.0" + yargs-parser "^18.0.0" + [email protected], cacache@^15.0.4, cacache@^15.0.5: version "15.0.5" resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.0.5.tgz#69162833da29170d6732334643c60e005f5f17d0" integrity sha512-lloiL22n7sOjEEXdL8NAjTgv9a1u43xICE9/203qonkZUCj5X1UEWIdf2/Y0d6QcCtMzbKQyhrcDbdvlZTs/+A== @@ -2986,11 +3135,6 @@ callsites@^2.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - [email protected]: version "5.0.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42" @@ -3001,11 +3145,6 @@ [email protected], camelcase@^5.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" - integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= - camelcase@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" @@ -3173,15 +3312,6 @@ cli-width@^3.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - cliui@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" @@ -3200,20 +3330,16 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= +clone@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" + integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= + coa@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3" @@ -3223,11 +3349,6 @@ coa@^2.0.2: chalk "^2.4.1" q "^1.1.2" -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - collection-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" @@ -3402,7 +3523,7 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== [email protected], convert-source-map@^1.5.1, convert-source-map@^1.7.0: [email protected], convert-source-map@^1.5.1, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== @@ -3446,21 +3567,21 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= [email protected]: - version "6.1.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-6.1.1.tgz#737a3ba21c16cc6ddca972f5cf8de25568ca0616" - integrity sha512-4TlkHFYkrZ3WppLA5XkPmBLI5lnEpFsXvpeqxCf5PzkratZiVklNXsvoQkLhUU43q7ZL3AOXtaHAd9jLNJoU0w== [email protected]: + version "6.0.3" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-6.0.3.tgz#2b3d2bfc6861b96432a65f0149720adbd902040b" + integrity sha512-q5m6Vz4elsuyVEIUXr7wJdIdePWTubsqVbEMvf1WQnHGv0Q+9yPRu7MtYFPt+GBOXRav9lvIINifTQ1vSCs+eA== dependencies: - cacache "^15.0.5" + cacache "^15.0.4" fast-glob "^3.2.4" find-cache-dir "^3.3.1" glob-parent "^5.1.1" globby "^11.0.1" loader-utils "^2.0.0" normalize-path "^3.0.0" - p-limit "^3.0.2" - schema-utils "^2.7.1" - serialize-javascript "^5.0.1" + p-limit "^3.0.1" + schema-utils "^2.7.0" + serialize-javascript "^4.0.0" webpack-sources "^1.4.3" core-js-compat@^3.6.2: @@ -3491,17 +3612,6 @@ cosmiconfig@^5.0.0: js-yaml "^3.13.1" parse-json "^4.0.0" -cosmiconfig@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" - integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.10.0" - create-ecdh@^4.0.0: version "4.0.4" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" @@ -3533,14 +3643,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-spawn@^4: - version "4.0.2" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" - integrity sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE= - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -3552,6 +3654,15 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" +cross-spawn@^7.0.0: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -3582,10 +3693,10 @@ css-declaration-sorter@^4.0.1: postcss "^7.0.1" timsort "^0.3.0" [email protected]: - version "4.3.0" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-4.3.0.tgz#c888af64b2a5b2e85462c72c0f4a85c7e2e0821e" - integrity sha512-rdezjCjScIrsL8BSYszgT4s476IcNKt6yX69t0pHjJVnPUTDpn4WfIpDQTN3wCJvUvfsz/mFjuGOekf3PY3NUg== [email protected]: + version "4.2.2" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-4.2.2.tgz#b668b3488d566dc22ebcf9425c5f254a05808c89" + integrity sha512-omVGsTkZPVwVRpckeUnLshPp12KsmMSLqYxs12+RzM9jRR5Y+Idn/tBffjXRvOE+qW7if24cuceFJqYR5FmGBg== dependencies: camelcase "^6.0.0" cssesc "^3.0.0" @@ -3597,7 +3708,7 @@ [email protected]: postcss-modules-scope "^2.2.0" postcss-modules-values "^3.0.0" postcss-value-parser "^4.1.0" - schema-utils "^2.7.1" + schema-utils "^2.7.0" semver "^7.3.2" css-parse@~2.0.0: @@ -3793,7 +3904,7 @@ [email protected], debug@=3.1.0, debug@~3.1.0: dependencies: ms "2.0.0" -debug@4, [email protected], debug@^4.1.0, debug@^4.1.1: +debug@4, debug@^4.1.0, debug@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== @@ -3814,7 +3925,12 @@ debug@^3.1.0, debug@^3.1.1, debug@^3.2.5: dependencies: ms "^2.1.1" -decamelize@^1.1.1, decamelize@^1.2.0: +debuglog@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" + integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= + +decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -3959,6 +4075,14 @@ [email protected]: resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.809251.tgz#300b3366be107d5c46114ecb85274173e3999518" integrity sha512-pf+2OY6ghMDPjKkzSWxHMq+McD+9Ojmq5XVRYpv/kPd9sTMQxzEt21592a31API8qRjro0iYYOc3ag46qF/1FA== +dezalgo@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" + integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= + dependencies: + asap "^2.0.0" + wrappy "1" + diff@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" @@ -4212,15 +4336,7 @@ engine.io@~3.2.0: engine.io-parser "~2.1.0" ws "~3.3.1" [email protected]: - version "5.0.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.0.0.tgz#4737e6ebd4f2fd13fe23f4cec9d02146afc2c527" - integrity sha512-6F037vvK16tgLlRgUx6ZEZISMysNvnnk09SILFrx3bNa1UsSLpIXFzWOmtiDxf1ISPAG6/wHBI61PEkeuTLVNA== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.0.0" - -enhanced-resolve@^4.3.0: [email protected], enhanced-resolve@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz#3b806f3bfafc1ec7de69551ef93cca46c1704126" integrity sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ== @@ -4642,13 +4758,13 @@ figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" [email protected]: - version "6.1.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.1.0.tgz#65b9fcfb0ea7f65a234a1f10cdd7f1ab9a33f253" - integrity sha512-26qPdHyTsArQ6gU4P1HJbAbnFTyT2r0pG7czh1GFAd9TZbj0n94wWbupgixZH/ET/meqi2/5+F7DhW4OAXD+Lg== [email protected]: + version "6.0.0" + resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.0.0.tgz#97bbfaab7a2460c07bcbd72d3a6922407f67649f" + integrity sha512-/aMOAYEFXDdjG0wytpTL5YQLfZnnTmLNjn+AIrJ/6HVnTfDqLsVKUUwkDf4I4kgex36BvjuXEn/TX9B/1ESyqQ== dependencies: loader-utils "^2.0.0" - schema-utils "^2.7.1" + schema-utils "^2.6.5" [email protected]: version "1.0.0" @@ -4716,13 +4832,6 @@ find-cache-dir@^2.1.0: make-dir "^2.0.0" pkg-dir "^3.0.0" -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= - dependencies: - locate-path "^2.0.0" - find-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" @@ -4763,13 +4872,13 @@ for-in@^1.0.2: resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -foreground-child@^1.5.6: - version "1.5.6" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9" - integrity sha1-T9ca0t/elnibmApcCilZN8svXOk= +foreground-child@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-2.0.0.tgz#71b32800c9f15aa8f2f83f4a6bd9bff35d861a53" + integrity sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA== dependencies: - cross-spawn "^4" - signal-exit "^3.0.0" + cross-spawn "^7.0.0" + signal-exit "^3.0.2" forever-agent@~0.6.1: version "0.6.1" @@ -4889,6 +4998,14 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +furi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/furi/-/furi-2.0.0.tgz#13d85826a1af21acc691da6254b3888fc39f0b4a" + integrity sha512-uKuNsaU0WVaK/vmvj23wW1bicOFfyqSsAIH71bRZx8kA4Xj+YCHin7CJKJJjkIsmxYaPFLk9ljmjEyB7xF7WvQ== + dependencies: + "@types/is-windows" "^1.0.0" + is-windows "^1.0.2" + genfun@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" @@ -4899,11 +5016,6 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -5002,7 +5114,7 @@ globby@^6.1.0: pify "^2.0.0" pinkie-promise "^2.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.4: +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.2.4" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== @@ -5019,18 +5131,6 @@ handle-thing@^2.0.0: resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== -handlebars@^4.0.3: - version "4.7.6" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" - integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.0" - source-map "^0.6.1" - wordwrap "^1.0.0" - optionalDependencies: - uglify-js "^3.1.4" - har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" @@ -5063,11 +5163,6 @@ [email protected]: resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39" integrity sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk= -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5201,6 +5296,11 @@ html-entities@^1.3.1: resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.3.1.tgz#fb9a1a4b5b14c5daba82d3e34c6ae4fe701a0e44" integrity sha512-rhE/4Z3hIhzHAUKbW8jVcCyuT5oJCXXqhN/6mXXVCpzTmvJnoH2HL/bt3EZ6p55jbFJBeAe1ZNpL5BugLujxNA== +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + http-cache-semantics@^3.8.1: version "3.8.1" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" @@ -5381,6 +5481,13 @@ immutable@^3: resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3" integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM= +import-cwd@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" + integrity sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk= + dependencies: + import-from "^2.1.0" + import-fresh@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" @@ -5389,13 +5496,12 @@ import-fresh@^2.0.0: caller-path "^2.0.0" resolve-from "^3.0.0" -import-fresh@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== +import-from@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" + integrity sha1-M1238qev/VOqpHHUuAId7ja387E= dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" + resolve-from "^3.0.0" import-lazy@~4.0.0: version "4.0.0" @@ -5502,11 +5608,6 @@ invariant@^2.2.2, invariant@^2.2.4: dependencies: loose-envify "^1.0.0" -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -5666,13 +5767,6 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" - is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -5883,11 +5977,6 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -istanbul-lib-coverage@^1.2.0, istanbul-lib-coverage@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0" - integrity sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ== - istanbul-lib-coverage@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" @@ -5903,24 +5992,24 @@ istanbul-lib-instrument@^4.0.3: istanbul-lib-coverage "^3.0.0" semver "^6.3.0" -istanbul-lib-report@^1.1.3: - version "1.1.5" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c" - integrity sha512-UsYfRMoi6QO/doUshYNqcKJqVmFe9w51GZz8BS3WB0lYxAllQYklka2wP9+dGZeHYaWIdcXUx8JGdbqaoXRXzw== +istanbul-lib-report@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" + integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== dependencies: - istanbul-lib-coverage "^1.2.1" - mkdirp "^0.5.1" - path-parse "^1.0.5" - supports-color "^3.1.2" + istanbul-lib-coverage "^3.0.0" + make-dir "^3.0.0" + supports-color "^7.1.0" -istanbul-reports@^1.3.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a" - integrity sha512-+cfoZ0UXzWjhAdzosCPP3AN8vvef8XDkWtTfgaN+7L3YTpNYITnCaEkceo5SEYy644VkHka/P1FvkWvrG/rrJw== +istanbul-reports@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b" + integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw== dependencies: - handlebars "^4.0.3" + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" -jasmine-core@^3.0.0: +jasmine-core@^3.6.0, jasmine-core@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.6.0.tgz#491f3bb23941799c353ceb7a45b38a950ebc5a20" integrity sha512-8uQYa7zJN8hq9z+g8z1bqCfdC8eoDAeVnM5sfqs7KHv9/ifoJ500m018fpFc7RDaO6SWCLCXwo/wPSNcdYTgcw== @@ -5930,11 +6019,6 @@ jasmine-core@~2.8.0: resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e" integrity sha1-vMl5rh+f0FcB5F5S5l06XWPxok4= -jasmine-core@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.5.0.tgz#132c23e645af96d85c8bca13c8758b18429fc1e4" - integrity sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA== - jasmine-reporters@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/jasmine-reporters/-/jasmine-reporters-2.3.2.tgz#898818ffc234eb8b3f635d693de4586f95548d43" @@ -5952,13 +6036,13 @@ [email protected]: glob "^7.0.6" jasmine-core "~2.8.0" -jasmine@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-3.5.0.tgz#7101eabfd043a1fc82ac24e0ab6ec56081357f9e" - integrity sha512-DYypSryORqzsGoMazemIHUfMkXM7I7easFaxAvNM3Mr6Xz3Fy36TupTrAOxZWN8MVKEU5xECv22J4tUQf3uBzQ== +jasmine@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-3.6.2.tgz#a8df3fc92f2ef322bcdafb890f744f3ff5751e86" + integrity sha512-Uc0o2MRnC8TS1MjDrB8jE1umKEo2mflzGvdg0Ncs+yuLtOJ+uz/Wz8VmGsNGtuASr8+E0LDgPkOpvdoC76m5WQ== dependencies: - glob "^7.1.4" - jasmine-core "~3.5.0" + glob "^7.1.6" + jasmine-core "~3.6.0" jasminewd2@^2.1.0: version "2.2.0" @@ -6044,11 +6128,6 @@ json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-bet resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -6083,6 +6162,11 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" [email protected]: + version "2.3.0" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.3.0.tgz#7c7fc988ee1486d35734faaaa866fadb00fa91ee" + integrity sha512-b0EBt8SWFNnixVdvoR2ZtEGa9ZqLhbJnOjezn+WP+8kspFm+PFYDN8Z4Bc7pRlDjvuVcADSUkroIuTWWn/YiIA== + [email protected]: version "2.3.1" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.3.1.tgz#59549150b133f2efacca48fe9ce1ec0659af2342" @@ -6168,23 +6252,17 @@ klona@^2.0.3: resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.4.tgz#7bb1e3affb0cb8624547ef7e8f6708ea2e39dfc0" integrity sha512-ZRbnvdg/NxqzC7L9Uyqzf4psi1OM4Cuc+sJAkQPjO6XkQIJTNbfK2Rsmbw8fx1p2mkZdp2FZYo2+LwXYY/uwIA== -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - [email protected]: - version "7.0.1" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-7.0.1.tgz#115ef3b2817f6f9e14ade6de3509b878c1bc0c13" - integrity sha512-TO0+5HuDJhHArpOWnjzPMQ0xfdvyo0nxF75NNnSZ/n8b08aDuhk91/zV9sqYHzPfWvBh1PjpX/pTEEi2QnmaYA== [email protected]: + version "6.2.0" + resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-6.2.0.tgz#8b26f621c155b342eefc24f5bd6e9dc40c42a719" + integrity sha512-Cl5h95/Pz/PWub/tCBgT1oNMFeH1WTD33piG80jn5jr12T4XbxZcjThwNXDQ7AG649WEynuIzO4b0+2Tn9Qolg== dependencies: - klona "^2.0.3" + clone "^2.1.2" + less "^3.11.3" loader-utils "^2.0.0" - schema-utils "^2.7.1" + schema-utils "^2.7.0" [email protected]: +less@^3.11.3: version "3.12.2" resolved "https://registry.yarnpkg.com/less/-/less-3.12.2.tgz#157e6dd32a68869df8859314ad38e70211af3ab4" integrity sha512-+1V2PCMFkL+OIj2/HrtrvZw0BC0sYLMICJfbQjuj/K8CEnlrFX6R5cKKgzzttsZDHyxQNL1jqMREjKN3ja/E3Q== @@ -6239,21 +6317,6 @@ limiter@^1.0.5: resolved "https://registry.yarnpkg.com/limiter/-/limiter-1.1.5.tgz#8f92a25b3b16c6131293a0cc834b4a838a2aa7c2" integrity sha512-FWWMIEOxz3GwUI4Ts/IvgVy6LPvoMPgjMdQ185nN6psJyBJ4yOpzqm695/h5umdLJg2vW3GR5iG11MAkR2AzJA== -lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" - integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs= - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - loader-runner@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" @@ -6296,14 +6359,6 @@ localtunnel@^2.0.0: openurl "1.1.1" yargs "13.3.0" -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - locate-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" @@ -6354,7 +6409,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.19, lodash@~4.17.15: +lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@~4.17.15: version "4.17.20" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== @@ -6383,14 +6438,6 @@ loose-envify@^1.0.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -6420,7 +6467,7 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.2: +make-dir@^3.0.0, make-dir@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== @@ -6449,13 +6496,6 @@ make-fetch-happen@^5.0.0: socks-proxy-agent "^4.0.0" ssri "^6.0.0" -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -6492,15 +6532,6 @@ [email protected]: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - memory-fs@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" @@ -6606,15 +6637,15 @@ mime@^2.4.4: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.6.tgz#e5b407c90db442f2beb5b162373d07b69affa4d1" integrity sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA== -mimic-fn@^2.0.0, mimic-fn@^2.1.0: +mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== [email protected]: - version "0.11.2" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.11.2.tgz#e3af4d5e04fbcaaf11838ab230510073060b37bf" - integrity sha512-h2LknfX4U1kScXxH8xE9LCOqT5B+068EAj36qicMb8l4dqdJoyHcmWmpd+ueyZfgu/POvIn+teoUnTtei2ikug== [email protected]: + version "0.10.0" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.10.0.tgz#a0e6bfcad22a9c73f6c882a3c7557a98e2d3d27d" + integrity sha512-QgKgJBjaJhxVPwrLNqqwNS0AGkuQQ31Hp4xGXEK/P7wehEg6qmNtReHKai3zRXqY60wGVWLYcOMJK2b98aGc3A== dependencies: loader-utils "^1.1.0" normalize-url "1.9.1" @@ -6808,16 +6839,16 @@ nanomatch@^1.2.9: to-regex "^3.0.1" native-request@^1.0.5: - version "1.0.7" - resolved "https://registry.yarnpkg.com/native-request/-/native-request-1.0.7.tgz#ff742dc555b4c8f2f1c14b548639ba174e573856" - integrity sha512-9nRjinI9bmz+S7dgNtf4A70+/vPhnd+2krGpy4SUlADuOuSa24IDkNaZ+R/QT1wQ6S8jBdi6wE7fLekFZNfUpQ== + version "1.0.8" + resolved "https://registry.yarnpkg.com/native-request/-/native-request-1.0.8.tgz#8f66bf606e0f7ea27c0e5995eb2f5d03e33ae6fb" + integrity sha512-vU2JojJVelUGp6jRcLwToPoWGxSx23z/0iX+I77J3Ht17rf2INGjrhOoQnjVo60nQd8wVsgzKkPfRXBiVdD2ag== [email protected]: version "0.6.2" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1, neo-async@^2.6.2: +neo-async@^2.5.0, neo-async@^2.6.1, neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -6885,7 +6916,7 @@ node-releases@^1.1.61: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.61.tgz#707b0fca9ce4e11783612ba4a2fcba09047af16e" integrity sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g== -normalize-package-data@^2.3.2, normalize-package-data@^2.4.0: +normalize-package-data@^2.0.0, normalize-package-data@^2.4.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -7024,11 +7055,6 @@ num2fraction@^1.2.2: resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4= -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - nwsapi@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" @@ -7103,7 +7129,7 @@ object.assign@^4.1.0: has-symbols "^1.0.1" object-keys "^1.1.1" -object.getownpropertydescriptors@^2.1.0: +object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== @@ -7159,10 +7185,10 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" [email protected]: - version "7.2.1" - resolved "https://registry.yarnpkg.com/open/-/open-7.2.1.tgz#07b0ade11a43f2a8ce718480bdf3d7563a095195" - integrity sha512-xbYCJib4spUdmcs0g/2mK1nKo/jO2T7INClWd/beL7PFkXRWgr8B23ssDHX/USPn2M2IjDR5UdpYs6I67SnTSA== [email protected]: + version "7.2.0" + resolved "https://registry.yarnpkg.com/open/-/open-7.2.0.tgz#212959bd7b0ce2e8e3676adc76e3cf2f0a2498b4" + integrity sha512-4HeyhxCvBTI5uBePsAdi55C5fmqnWZ2e2MlmvWi5KW5tdH5rxoiv/aMtbeVxKZc3eWkT1GymMnLG8XC4Rq4TDQ== dependencies: is-docker "^2.0.0" is-wsl "^2.1.1" @@ -7198,6 +7224,20 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" [email protected]: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.0.0.tgz#4f0b34f2994877b49b452a707245ab1e9f6afccb" + integrity sha512-s26qdWqke2kjN/wC4dy+IQPBIMWBJlSU/0JZhk30ZDBLelW25rv66yutUWARMigpGPzcXHb+Nac5pNhN/WsARw== + dependencies: + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.4.0" + is-interactive "^1.0.0" + log-symbols "^4.0.0" + mute-stream "0.0.8" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + [email protected]: version "5.1.0" resolved "https://registry.yarnpkg.com/ora/-/ora-5.1.0.tgz#b188cf8cd2d4d9b13fd25383bc3e5cba352c94f8" @@ -7224,20 +7264,11 @@ os-browserify@^0.3.0: resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= -os-homedir@^1.0.0, os-homedir@^1.0.1: +os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - os-tmpdir@^1.0.0, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -7251,28 +7282,11 @@ osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -7280,20 +7294,13 @@ p-limit@^2.0.0, p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^3.0.2: +p-limit@^3.0.1, p-limit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.0.2.tgz#1664e010af3cadc681baafd3e2a437be7b0fb5fe" integrity sha512-iwqZSOoWIW+Ew4kAGUlN16J4M7OB3ysMLSZtnhmqx7njIHFPlxWBX8xo3lVTyFVq6mI/lL9qt2IsN1sHwaxJkg== dependencies: p-try "^2.0.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= - dependencies: - p-limit "^1.1.0" - p-locate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" @@ -7327,11 +7334,6 @@ p-retry@^3.0.1: dependencies: retry "^0.12.0" -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -7387,13 +7389,6 @@ parallel-transform@^1.1.0: inherits "^2.0.3" readable-stream "^2.1.5" -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - parse-asn1@^5.0.0, parse-asn1@^5.1.5: version "5.1.6" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" @@ -7413,16 +7408,6 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -parse-json@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.1.0.tgz#f96088cdf24a8faa9aea9a009f2d9d942c999646" - integrity sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - [email protected]: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6" @@ -7499,7 +7484,12 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-parse@^1.0.5, path-parse@^1.0.6: +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== @@ -7509,13 +7499,6 @@ [email protected]: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" @@ -7552,11 +7535,6 @@ pify@^2.0.0, pify@^2.3.0: resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= - pify@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" @@ -7683,16 +7661,23 @@ [email protected]: read-cache "^1.0.0" resolve "^1.1.7" [email protected]: - version "4.0.2" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-4.0.2.tgz#b9e55a6126ee67bb7b94bbfcbf1aa24c69f11229" - integrity sha512-u7Qoa6GSPIeg9/hHbNnXspzuD5jjCIWKgk1fJ/gGJPS0uaj6Whk2zjXhDAiHZyYSrDmIzUQk7GgwRF22eRIQGQ== +postcss-load-config@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.2.tgz#c5ea504f2c4aef33c7359a34de3573772ad7502a" + integrity sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw== dependencies: - cosmiconfig "^7.0.0" - klona "^2.0.3" - loader-utils "^2.0.0" - schema-utils "^2.7.1" - semver "^7.3.2" + cosmiconfig "^5.0.0" + import-cwd "^2.0.0" + [email protected]: + version "3.0.0" + resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-3.0.0.tgz#6b97943e47c72d845fa9e03f273773d4e8dd6c2d" + integrity sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA== + dependencies: + loader-utils "^1.1.0" + postcss "^7.0.0" + postcss-load-config "^2.0.0" + schema-utils "^1.0.0" postcss-merge-longhand@^4.0.11: version "4.0.11" @@ -8077,11 +8062,6 @@ prr@~1.0.1: resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - psl@^1.1.28: version "1.8.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" @@ -8260,22 +8240,26 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== +read-package-json@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" + integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" + glob "^7.1.1" + json-parse-better-errors "^1.0.1" + normalize-package-data "^2.0.0" + npm-normalize-package-bin "^1.0.0" + optionalDependencies: + graceful-fs "^4.1.2" -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k= [email protected]: + version "5.3.1" + resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" + integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" + read-package-json "^2.0.0" + readdir-scoped-modules "^1.0.0" + util-promisify "^2.1.0" "readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.7" @@ -8299,6 +8283,16 @@ readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable string_decoder "^1.1.1" util-deprecate "^1.0.1" +readdir-scoped-modules@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" + integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== + dependencies: + debuglog "^1.0.1" + dezalgo "^1.0.0" + graceful-fs "^4.1.2" + once "^1.3.0" + readdirp@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" @@ -8458,11 +8452,6 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= - require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -8485,11 +8474,6 @@ resolve-from@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" integrity sha1-six699nWiBvItuZTM17rywoYh0g= -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - [email protected]: version "3.1.1" resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.1.tgz#28931895fa1eab9be0647d3b2958c100ae3c0bf0" @@ -8511,7 +8495,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= [email protected], resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.3.2, resolve@^1.8.1, resolve@~1.17.0: +resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.3.2, resolve@^1.8.1, resolve@~1.17.0: version "1.17.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== @@ -8577,7 +8561,7 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= [email protected], rimraf@^3.0.2: [email protected], rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -8636,7 +8620,14 @@ rollup-pluginutils@^2.8.1: dependencies: estree-walker "^0.6.1" [email protected], rollup@~2.28.0: [email protected]: + version "2.26.5" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.26.5.tgz#5562ec36fcba3eed65cfd630bd78e037ad0e0307" + integrity sha512-rCyFG3ZtQdnn9YwfuAVH0l/Om34BdO5lwCA0W6Hq+bNB21dVEBbCRxhaHOmu1G7OBFDWytbzAC104u7rxHwGjA== + optionalDependencies: + fsevents "~2.1.2" + +rollup@~2.28.0: version "2.28.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.28.1.tgz#ceedca3cdb013c2fa8f22f958a29c203368159ea" integrity sha512-DOtVoqOZt3+FjPJWLU8hDIvBjUylc9s6IZvy76XklxzcLvAQLtVAG/bbhsMhcWnYxC0TKKcf1QQ/tg29zeID0Q== @@ -8665,6 +8656,13 @@ [email protected]: resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" integrity sha1-pfE/957zt0D+MKqAP7CfmIBdR4I= [email protected]: + version "6.6.2" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.2.tgz#8096a7ac03f2cc4fe5860ef6e572810d9e01c0d2" + integrity sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg== + dependencies: + tslib "^1.9.0" + [email protected], rxjs@^6.5.3, rxjs@^6.6.0: version "6.6.3" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552" @@ -8701,21 +8699,21 @@ safe-regex@^1.1.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== [email protected]: - version "10.0.2" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.0.2.tgz#c7b73010848b264792dd45372eea0b87cba4401e" - integrity sha512-wV6NDUVB8/iEYMalV/+139+vl2LaRFlZGEd5/xmdcdzQcgmis+npyco6NsDTVOlNA3y2NV9Gcz+vHyFMIT+ffg== [email protected]: + version "10.0.1" + resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.0.1.tgz#10c0364d8034f22fee25ddcc9eded20f99bbe3b4" + integrity sha512-b2PSldKVTS3JcFPHSrEXh3BeAfR7XknGiGCAO5aHruR3Pf3kqLP3Gb2ypXLglRrAzgZkloNxLZ7GXEGDX0hBUQ== dependencies: klona "^2.0.3" loader-utils "^2.0.0" neo-async "^2.6.2" - schema-utils "^2.7.1" + schema-utils "^2.7.0" semver "^7.3.2" [email protected]: - version "1.26.11" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.26.11.tgz#0f22cc4ab2ba27dad1d4ca30837beb350b709847" - integrity sha512-W1l/+vjGjIamsJ6OnTe0K37U2DBO/dgsv2Z4c89XQ8ZOO6l/VwkqwLSqoYzJeJs6CLuGSTRWc91GbQFL3lvrvw== [email protected]: + version "1.26.10" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.26.10.tgz#851d126021cdc93decbf201d1eca2a20ee434760" + integrity sha512-bzN0uvmzfsTvjz0qwccN1sPm2HxxpNI/Xa+7PlUEMS+nQvbyuEK7Y0qFqxlPHhiNHb1Ze8WQJtU31olMObkAMw== dependencies: chokidar ">=2.0.0 <4.0.0" @@ -8747,7 +8745,7 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7.0, schema-utils@^2.7.1: +schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7.0: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== @@ -8855,13 +8853,6 @@ serialize-javascript@^4.0.0: dependencies: randombytes "^2.1.0" -serialize-javascript@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" - integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== - dependencies: - randombytes "^2.1.0" - [email protected], serve-index@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" @@ -8943,13 +8934,6 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -8957,11 +8941,23 @@ shebang-command@^1.2.0: dependencies: shebang-regex "^1.0.0" +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + [email protected]: version "0.8.2" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" @@ -9156,17 +9152,16 @@ source-list-map@^2.0.0: resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== [email protected]: - version "1.1.0" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-1.1.0.tgz#f0fcc88106137793a89ec00f118196b601f111ae" - integrity sha512-Kj7rXntLhAsEjZlqGz85Mbnu8N4gcxj5qZI1XyLQjqAI/p92ckRXwErb3jVYL5JxlFJnD4VgwybpB1h6NlETRg== [email protected]: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-1.0.2.tgz#b0a6582b2eaa387ede1ecf8061ae0b93c23f9eb0" + integrity sha512-oX8d6ndRjN+tVyjj6PlXSyFPhDdVAPsZA30nD3/II8g4uOv8fCz0DMn5sy8KtVbDfKQxOpGwGJnK3xIW3tauDw== dependencies: - abab "^2.0.4" + data-urls "^2.0.0" iconv-lite "^0.6.2" loader-utils "^2.0.0" schema-utils "^2.7.0" source-map "^0.6.1" - whatwg-mimetype "^2.3.0" source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: version "0.5.3" @@ -9235,18 +9230,6 @@ sourcemap-codec@^1.4.4, sourcemap-codec@^1.4.8: resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== -spawn-wrap@^1.4.2: - version "1.4.3" - resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-1.4.3.tgz#81b7670e170cca247d80bf5faf0cfb713bdcf848" - integrity sha512-IgB8md0QW/+tWqcavuFgKYR/qIRvJkRLPJDFaoXtLLUaVcCDK0+HeFTkmQHj3eprcYhc+gOl0aEA1w7qZlYezw== - dependencies: - foreground-child "^1.5.6" - mkdirp "^0.5.0" - os-homedir "^1.0.1" - rimraf "^2.6.2" - signal-exit "^3.0.2" - which "^1.3.0" - spdx-correct@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" @@ -9427,23 +9410,6 @@ string-argv@~0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string-width@^2.0.0, string-width@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - string-width@^3.0.0, string-width@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" @@ -9499,13 +9465,6 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= - dependencies: - ansi-regex "^3.0.0" - strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" @@ -9520,11 +9479,6 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= - strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" @@ -9575,13 +9529,6 @@ supports-color@^2.0.0: resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^3.1.2: - version "3.2.3" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= - dependencies: - has-flag "^1.0.0" - supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -9627,10 +9574,10 @@ [email protected]: resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ= [email protected]: - version "2.0.1" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.1.tgz#ce66c36a04ed0f3056e7293184749a6fdd7063ea" - integrity sha512-QrfHrrEUMadQCgMijc3YpfA4ncwgqGv58Xgvdu3JZVQB7iY7cAkiqobZEZbaA863jof8AdpR01CPnZ5UWeqZBQ== [email protected]: + version "1.2.0" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" + integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== symbol-tree@^3.2.4: version "3.2.4" @@ -9642,11 +9589,6 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tapable@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.0.0.tgz#a49c3d6a8a2bb606e7db372b82904c970d537a08" - integrity sha512-bjzn0C0RWoffnNdTzNi7rNDhs1Zlwk2tRXgk8EiHKAOX1Mag3d6T0Y5zNa7l9CJ+EoUne/0UHdwS8tMbkh9zDg== - tar-fs@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5" @@ -9693,19 +9635,19 @@ tar@^6.0.2: mkdirp "^1.0.3" yallist "^4.0.0" [email protected]: - version "4.2.2" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-4.2.2.tgz#d86200c700053bba637913fe4310ba1bdeb5568e" - integrity sha512-3qAQpykRTD5DReLu5/cwpsg7EZFzP3Q0Hp2XUWJUw2mpq2jfgOKTZr8IZKKnNieRVVo1UauROTdhbQJZveGKtQ== [email protected]: + version "4.1.0" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-4.1.0.tgz#6e9d6ae4e1a900d88ddce8da6a47507ea61f44bc" + integrity sha512-0ZWDPIP8BtEDZdChbufcXUigOYk6dOX/P/X0hWxqDDcVAQLb8Yy/0FAaemSfax3PAA67+DJR778oz8qVbmy4hA== dependencies: cacache "^15.0.5" find-cache-dir "^3.3.1" jest-worker "^26.3.0" p-limit "^3.0.2" - schema-utils "^2.7.1" - serialize-javascript "^5.0.1" + schema-utils "^2.6.6" + serialize-javascript "^4.0.0" source-map "^0.6.1" - terser "^5.3.2" + terser "^5.0.0" webpack-sources "^1.4.3" terser-webpack-plugin@^1.4.3: @@ -9723,10 +9665,10 @@ terser-webpack-plugin@^1.4.3: webpack-sources "^1.4.0" worker-farm "^1.7.0" [email protected], terser@^5.0.0, terser@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.3.2.tgz#f4bea90eb92945b2a028ceef79181b9bb586e7af" - integrity sha512-H67sydwBz5jCUA32ZRL319ULu+Su1cAoZnnc+lXnenGRYWyLE3Scgkt8mNoAsMx0h5kdo758zdoS0LG9rYZXDQ== [email protected]: + version "5.3.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.3.0.tgz#c481f4afecdcc182d5e2bdd2ff2dc61555161e81" + integrity sha512-XTT3D3AwxC54KywJijmY2mxZ8nJiEjBHVYzq8l9OaYuRFWeQNBwvipuzzYEP4e+/AVcd1hqG/CqgsdIRyT45Fg== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -9741,20 +9683,23 @@ terser@^4.1.2: source-map "~0.6.1" source-map-support "~0.5.12" -test-exclude@^5.2.2: - version "5.2.3" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0" - integrity sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g== +terser@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.0.0.tgz#269640e4e92f15d628de1e5f01c4c61e1ba3d765" + integrity sha512-olH2DwGINoSuEpSGd+BsPuAQaA3OrHnHnFL/rDB2TVNc3srUbz/rq/j2BlF4zDXI+JqAvGr86bIm1R2cJgZ3FA== dependencies: - glob "^7.1.3" - minimatch "^3.0.4" - read-pkg-up "^4.0.0" - require-main-filename "^2.0.0" + commander "^2.20.0" + source-map "~0.6.1" + source-map-support "~0.5.12" [email protected]: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" tfunk@^3.0.1: version "3.1.0" @@ -9915,7 +9860,12 @@ [email protected], tslib@^2.0.0, tslib@~2.0.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.1.tgz#410eb0d113e5b6356490eec749603725b021b43e" integrity sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ== -tslib@^1.10.0, tslib@^1.11.1, tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.10.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^1.11.1, tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0: version "1.13.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== @@ -10012,26 +9962,26 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= [email protected], typescript@~4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" - integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== [email protected]: + version "4.0.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2" + integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ== typescript@~3.9.5: version "3.9.7" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== +typescript@~4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" + integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== + ua-parser-js@^0.7.18: version "0.7.22" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.22.tgz#960df60a5f911ea8f1c818f3747b99c6e177eae3" integrity sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q== -uglify-js@^3.1.4: - version "3.10.4" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.10.4.tgz#dd680f5687bc0d7a93b14a3482d16db6eba2bfbb" - integrity sha512-kBFT3U4Dcj4/pJ52vfjCSfyLyvG9VYYuGYPmrPvAxRw/i7xHiT4VvCev+uiEMcEEiu6UNB6KgWmGtSUYIWScbw== - ultron@~1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" @@ -10177,6 +10127,13 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= +util-promisify@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" + integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM= + dependencies: + object.getownpropertydescriptors "^2.0.3" + util.promisify@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.1.tgz#6baf7774b80eeb0f7520d8b81d07982a59abbaee" @@ -10216,29 +10173,14 @@ uuid@^3.0.0, uuid@^3.3.2, uuid@^3.4.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== [email protected]: - version "1.0.9" - resolved "https://registry.yarnpkg.com/v8-coverage/-/v8-coverage-1.0.9.tgz#780889680c0fea0f587adf22e2b5f443b9434745" - integrity sha512-JolsCH1JDI2QULrxkAGZaovJPvg/Q0p20Uj0F5N8fPtYDtz38gNBRPQ/WVXlLLd3d8WHvKN96AfE4XFk4u0g2g== +v8-to-istanbul@^4.1.2: + version "4.1.4" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-4.1.4.tgz#b97936f21c0e2d9996d4985e5c5156e9d4e49cd6" + integrity sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ== dependencies: - debug "^3.1.0" - foreground-child "^1.5.6" - istanbul-lib-coverage "^1.2.0" - istanbul-lib-report "^1.1.3" - istanbul-reports "^1.3.0" - mkdirp "^0.5.1" - rimraf "^2.6.2" - signal-exit "^3.0.2" - spawn-wrap "^1.4.2" - test-exclude "^5.2.2" - uuid "^3.3.2" - v8-to-istanbul "1.2.0" - yargs "^11.0.0" - [email protected]: - version "1.2.0" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-1.2.0.tgz#f6a22ffb08b2202aaba8c2be497d1d41fe8fb4b6" - integrity sha512-rVSmjdEfJmOHN8GYCbg+XUhbzXZr7DzdaXIslB9DdcopGZEMsW5x5qIdxr/8DcW7msULHNnvs/xUY1TszvhKRw== + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + source-map "^0.7.3" validate-npm-package-license@^3.0.1: version "3.0.4" @@ -10423,13 +10365,12 @@ webpack-log@^2.0.0: ansi-colors "^3.0.0" uuid "^3.3.2" [email protected]: - version "5.1.4" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.1.4.tgz#a2c3a0c38ac2c02055c47bb1d42de1f072f1aea4" - integrity sha512-LSmRD59mxREGkCBm9PCW3AaV4doDqxykGlx1NvioEE0FgkT2GQI54Wyvg39ptkiq2T11eRVoV39udNPsQvK+QQ== [email protected]: + version "4.2.2" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz#a27c52ea783d1398afd2087f547d7b9d2f43634d" + integrity sha512-TUE1UGoTX2Cd42j3krGYqObZbOD+xF7u28WB7tfUordytSjbWTIjK/8V0amkBfTYN4/pB/GIDlJZZ657BGG19g== dependencies: - clone-deep "^4.0.1" - wildcard "^2.0.0" + lodash "^4.17.15" [email protected], webpack-sources@^1.1.0, webpack-sources@^1.2.0, webpack-sources@^1.3.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: version "1.4.3" @@ -10446,10 +10387,10 @@ [email protected]: dependencies: webpack-sources "^1.3.0" [email protected]: - version "4.44.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.2.tgz#6bfe2b0af055c8b2d1e90ed2cd9363f841266b72" - integrity sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q== [email protected]: + version "4.44.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21" + integrity sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ== dependencies: "@webassemblyjs/ast" "1.9.0" "@webassemblyjs/helper-module-context" "1.9.0" @@ -10527,28 +10468,25 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== dependencies: isexe "^2.0.0" -wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= - worker-farm@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" @@ -10563,14 +10501,6 @@ [email protected]: dependencies: loader-utils "^1.1.0" -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" @@ -10665,21 +10595,11 @@ xtend@^4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= - y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" @@ -10690,11 +10610,6 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" - integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg== - yargs-parser@^13.1.1, yargs-parser@^13.1.2: version "13.1.2" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" @@ -10703,7 +10618,7 @@ yargs-parser@^13.1.1, yargs-parser@^13.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^18.1.0, yargs-parser@^18.1.2: +yargs-parser@^18.0.0, yargs-parser@^18.1.0, yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== @@ -10711,13 +10626,6 @@ yargs-parser@^18.1.0, yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^9.0.2: - version "9.0.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" - integrity sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc= - dependencies: - camelcase "^4.1.0" - [email protected]: version "13.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" @@ -10751,24 +10659,6 @@ [email protected]: y18n "^4.0.0" yargs-parser "^18.1.0" -yargs@^11.0.0: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.1.1.tgz#5052efe3446a4df5ed669c995886cc0f13702766" - integrity sha512-PRU7gJrJaXv3q3yQZ/+/X6KBswZiaQ+zOmdprZcouPYtQgvNU35i+68M4b1ZHLZtYFT5QObFLV+ZkmJYcwKdiw== - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^3.1.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^9.0.2" - yargs@^13.3.2: version "13.3.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" @@ -10785,7 +10675,7 @@ yargs@^13.3.2: y18n "^4.0.0" yargs-parser "^13.1.2" -yargs@^15.3.1, yargs@^15.4.1: +yargs@^15.0.0, yargs@^15.3.1, yargs@^15.4.1: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==
a989cfa5ed132762ec5f797a4d2e200227d6c2c2
2016-01-07 00:28:27
gdi2290
chore(package.json): fix deps, bump 0.20.0
false
fix deps, bump 0.20.0
chore
diff --git a/modules/universal/package.json b/modules/universal/package.json index 65e0f02d198d..6a58315dfe73 100644 --- a/modules/universal/package.json +++ b/modules/universal/package.json @@ -2,7 +2,7 @@ "name": "angular2-universal-preview", "main": "dist/universal/server/server.js", "browser": "dist/universal/client/client.js", - "version": "0.19.0", + "version": "0.20.0", "description": "Universal (isomorphic) javascript support for Angular2", "homepage": "https://github.com/angular/universal", "license": "Apache-2.0", @@ -31,7 +31,7 @@ "preboot": "^1.0.2", "angular2": "2.0.0-beta.0", "es6-promise": "^3.0.2", - "es7-reflect-metadata": "^1.4.0", + "reflect-metadata": "0.1.2", "rxjs": "5.0.0-beta.0", "zone.js": "0.5.10", "xhr2": "0.1.3" diff --git a/package.json b/package.json index e0f6cbc0a9b1..aab64f146033 100644 --- a/package.json +++ b/package.json @@ -89,8 +89,6 @@ "yargs": "^3.14.0" }, "dependencies": { - "zone.js": "0.5.10", - "rxjs": "5.0.0-beta.0", "angular2": "2.0.0-beta.0", "browserify": "^11.0.0", "css": "^2.2.1", @@ -106,8 +104,10 @@ "reflect-metadata": "0.1.2", "require-dir": "^0.3.0", "run-sequence": "^1.1.2", + "rxjs": "5.0.0-beta.0", "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", - "xhr2": "^0.1.3" + "xhr2": "^0.1.3", + "zone.js": "0.5.10" } }
4b32bb4c3420654ec844843741f233f3c10bf2da
2017-02-23 03:24:59
Mike Brocchi
docs: update readme and wiki homepage (#4933)
false
update readme and wiki homepage (#4933)
docs
diff --git a/README.md b/README.md index 977b5f69e391..1a36dc6868d3 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ with NPM 3 or higher. * [Generating Components, Directives, Pipes and Services](#generating-components-directives-pipes-and-services) * [Updating Angular CLI](#updating-angular-cli) * [Development Hints for hacking on Angular CLI](#development-hints-for-hacking-on-angular-cli) +* [Documentation](#documentation) * [License](#license) ## Installation @@ -161,6 +162,10 @@ Please read the official [npm-link documentation](https://www.npmjs.org/doc/cli/ and the [npm-link cheatsheet](http://browsenpm.org/help#linkinganynpmpackagelocally) for more information. +## Documentation + +The documentation for the Angular CLI is located in this repo's [wiki](https://github.com/angular/angular-cli/wiki). + ## License MIT diff --git a/docs/documentation/home.md b/docs/documentation/home.md index 8fb6b4b3c59e..e7220f1b5eb7 100644 --- a/docs/documentation/home.md +++ b/docs/documentation/home.md @@ -52,10 +52,6 @@ End-to-end tests are run via [Protractor](https://angular.github.io/protractor/) * [ng get/ng set](config) * [ng docs](docs) -### How to Guides -* Setup AngularFire _(coming soon)_ -* Include bootstrap (CSS) _(coming soon)_ -* Include Font Awesome _(coming soon)_ -* Setup of global styles _(coming soon)_ -* Setup bootstrap with SASS _(coming soon)_ -* Setup Angular Material 2 _(coming soon)_ +### Additional Information +There are several [stories](stories) which will walk you through setting up +additional aspects of Angular applciations.
e3aa483028c9e1a396efeb4b18e1fff1b1bd92c8
2025-01-28 22:07:07
Charles Lyding
refactor(@angular/build): allow browser client to log console message with dev-server
false
allow browser client to log console message with dev-server
refactor
diff --git a/packages/angular/build/src/builders/dev-server/vite-server.ts b/packages/angular/build/src/builders/dev-server/vite-server.ts index f235b5f6f8a9..fb4062625f47 100644 --- a/packages/angular/build/src/builders/dev-server/vite-server.ts +++ b/packages/angular/build/src/builders/dev-server/vite-server.ts @@ -439,6 +439,24 @@ export async function* serveWithVite( server = await createServer(serverConfiguration); await server.listen(); + // Setup builder context logging for browser clients + server.hot.on('angular:log', (data: { text: string; kind?: string }) => { + if (typeof data?.text !== 'string') { + context.logger.warn('Development server client sent invalid internal log event.'); + } + switch (data.kind) { + case 'error': + context.logger.error(`[CLIENT ERROR]: ${data.text}`); + break; + case 'warning': + context.logger.warn(`[CLIENT WARNING]: ${data.text}`); + break; + default: + context.logger.info(`[CLIENT INFO]: ${data.text}`); + break; + } + }); + const urls = server.resolvedUrls; if (urls && (urls.local.length || urls.network.length)) { serverUrl = new URL(urls.local[0] ?? urls.network[0]);
bf411b939feb19e225f5e3c4290fd2fa3e6b31c0
2022-08-11 03:40:42
Charles Lyding
docs: release notes for the v14.1.2 release
false
release notes for the v14.1.2 release
docs
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5da9acf19c9a..a10006e05ea7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +<a name="14.1.2"></a> + +# 14.1.2 (2022-08-10) + +### @angular-devkit/build-angular + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------- | +| [3e19c842c](https://github.com/angular/angular-cli/commit/3e19c842cc2a7f2dc62904f5f88025a4687d378a) | fix | avoid collect stats from chunks with no files | +| [d0a0c597c](https://github.com/angular/angular-cli/commit/d0a0c597cd09b1ce4d7134d3e330982b522f28a9) | fix | correctly handle data URIs with escaped quotes in stylesheets | +| [67b3a086f](https://github.com/angular/angular-cli/commit/67b3a086fe90d1b7e5443e8a9f29b12367dd07e7) | fix | process stylesheet resources from url tokens with esbuild browser builder | +| [e6c45c316](https://github.com/angular/angular-cli/commit/e6c45c316ebcd1b5a16b410a3743088e9e9f789c) | perf | reduce babel transformation in esbuild builder | +| [38b71bcc0](https://github.com/angular/angular-cli/commit/38b71bcc0ddca1a34a5a4480ecd0b170bd1e9620) | perf | use esbuild in esbuild builder to downlevel native async/await | + +### @ngtools/webpack + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------------- | +| [dd47a5e8c](https://github.com/angular/angular-cli/commit/dd47a5e8c543cbd3bb37afe5040a72531b028347) | fix | elide type only named imports when using `emitDecoratorMetadata` | + +## Special Thanks + +Alan Agius, Charles Lyding and Jason Bedard + +<!-- CHANGELOG SPLIT MARKER --> + <a name="14.2.0-next.0"></a> # 14.2.0-next.0 (2022-08-03)
1034bb155b58a5f18eecf56409a3ff99d2ca4474
2024-03-12 14:36:27
Alan Agius
fix(@angular-devkit/build-angular): provide better error message when server option is required but missing
false
provide better error message when server option is required but missing
fix
diff --git a/packages/angular_devkit/build_angular/src/builders/application/options.ts b/packages/angular_devkit/build_angular/src/builders/application/options.ts index fe9c45258c4e..36c95b3622ac 100644 --- a/packages/angular_devkit/build_angular/src/builders/application/options.ts +++ b/packages/angular_devkit/build_angular/src/builders/application/options.ts @@ -221,7 +221,7 @@ export async function normalizeOptions( if (options.server) { serverEntryPoint = path.join(workspaceRoot, options.server); } else if (options.server === '') { - throw new Error('`server` option cannot be an empty string.'); + throw new Error('The "server" option cannot be an empty string.'); } let prerenderOptions; @@ -253,6 +253,12 @@ export async function normalizeOptions( }; } + if ((appShellOptions || ssrOptions || prerenderOptions) && !serverEntryPoint) { + throw new Error( + 'The "server" option is required when enabling "ssr", "prerender" or "app-shell".', + ); + } + // Initial options to keep const { allowedCommonJsDependencies, diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts index 04bc801b5df4..a107cd16b38b 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts @@ -154,15 +154,8 @@ export function createServerCodeBundleOptions( target: string[], sourceFileCache: SourceFileCache, ): BuildOptions { - const { - jit, - serverEntryPoint, - workspaceRoot, - ssrOptions, - watch, - externalPackages, - prerenderOptions, - } = options; + const { serverEntryPoint, workspaceRoot, ssrOptions, watch, externalPackages, prerenderOptions } = + options; assert( serverEntryPoint,
b9db5841f58a785b74e73590e128e2a8c9fa61ec
2022-08-31 18:09:09
Angular Robot
build: update dependency postcss-import to v15
false
update dependency postcss-import to v15
build
diff --git a/package.json b/package.json index 4333f04d765d..f8a7f06dc04f 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "piscina": "3.2.0", "popper.js": "^1.14.1", "postcss": "8.4.16", - "postcss-import": "14.1.0", + "postcss-import": "15.0.0", "postcss-loader": "7.0.1", "postcss-preset-env": "7.8.0", "prettier": "^2.0.0", diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index e803ae7e2b6f..2cea414249c2 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -46,7 +46,7 @@ "parse5-html-rewriting-stream": "6.0.1", "piscina": "3.2.0", "postcss": "8.4.16", - "postcss-import": "14.1.0", + "postcss-import": "15.0.0", "postcss-loader": "7.0.1", "postcss-preset-env": "7.8.0", "regenerator-runtime": "0.13.9", diff --git a/yarn.lock b/yarn.lock index 5c7838ae8833..052f6ab3f3f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8671,6 +8671,15 @@ [email protected]: read-cache "^1.0.0" resolve "^1.1.7" [email protected]: + version "15.0.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-15.0.0.tgz#0b66c25fdd9c0d19576e63c803cf39e4bad08822" + integrity sha512-Y20shPQ07RitgBGv2zvkEAu9bqvrD77C9axhj/aA1BQj4czape2MdClCExvB27EwYEJdGgKZBpKanb0t1rK2Kg== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + postcss-initial@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/postcss-initial/-/postcss-initial-4.0.1.tgz#529f735f72c5724a0fb30527df6fb7ac54d7de42"
a97ccbab09498cbe9d55a5d7d68d638134e38c9f
2018-09-27 22:15:55
Alan Agius
style: remove redundant `async` in tests
false
remove redundant `async` in tests
style
diff --git a/packages/schematics/angular/application/other-files/app.component.spec.ts b/packages/schematics/angular/application/other-files/app.component.spec.ts index 0e7f901ad12d..23a395040bf2 100644 --- a/packages/schematics/angular/application/other-files/app.component.spec.ts +++ b/packages/schematics/angular/application/other-files/app.component.spec.ts @@ -1,7 +1,7 @@ import { TestBed, async } from '@angular/core/testing';<% if (routing) { %> import { RouterTestingModule } from '@angular/router/testing';<% } %> import { AppComponent } from './app.component'; - + describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({<% if (routing) { %> @@ -14,22 +14,22 @@ describe('AppComponent', () => { }).compileComponents(); })); - it('should create the app', async(() => { + it('should create the app', () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; expect(app).toBeTruthy(); - })); + }); - it(`should have as title '<%= name %>'`, async(() => { + it(`should have as title '<%= name %>'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; expect(app.title).toEqual('<%= name %>'); - })); + }); - it('should render title in a h1 tag', async(() => { + it('should render title in a h1 tag', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= name %>!'); - })); + }); });
118ffb17feb76457f7f5417230ebac5af88bb5e6
2021-04-08 19:12:47
Charles Lyding
test(@ngtools/webpack): update webpack test-app E2E to use Webpack 5
false
update webpack test-app E2E to use Webpack 5
test
diff --git a/tests/legacy-cli/e2e/assets/webpack/test-app/package.json b/tests/legacy-cli/e2e/assets/webpack/test-app/package.json index c7a2c7d673a9..95f91bb566d9 100644 --- a/tests/legacy-cli/e2e/assets/webpack/test-app/package.json +++ b/tests/legacy-cli/e2e/assets/webpack/test-app/package.json @@ -18,9 +18,9 @@ "devDependencies": { "raw-loader": "^4.0.2", "sass": "^1.32.8", - "sass-loader": "^10.1.1", + "sass-loader": "^11.0.1", "typescript": "~4.2.3", - "webpack": "^4.46.0", + "webpack": "^5.27.0", "webpack-cli": "^4.5.0" } } diff --git a/tests/legacy-cli/e2e/tests/packages/webpack/test-app.ts b/tests/legacy-cli/e2e/tests/packages/webpack/test-app.ts index dfc0f7545429..1ee5f70b03ed 100644 --- a/tests/legacy-cli/e2e/tests/packages/webpack/test-app.ts +++ b/tests/legacy-cli/e2e/tests/packages/webpack/test-app.ts @@ -3,17 +3,18 @@ import { createProjectFromAsset } from '../../../utils/assets'; import { expectFileSizeToBeUnder, expectFileToMatch, replaceInFile } from '../../../utils/fs'; import { exec } from '../../../utils/process'; - export default async function (skipCleaning: () => void) { const webpackCLIBin = normalize('node_modules/.bin/webpack-cli'); await createProjectFromAsset('webpack/test-app'); + await exec(webpackCLIBin); // Note: these sizes are without Build Optimizer or any advanced optimizations in the CLI. - await expectFileSizeToBeUnder('dist/app.main.js', 565 * 1024); - await expectFileSizeToBeUnder('dist/1.app.main.js', 1 * 1024); - await expectFileSizeToBeUnder('dist/2.app.main.js', 2 * 1024); + await expectFileSizeToBeUnder('dist/app.main.js', 656 * 1024); + await expectFileSizeToBeUnder('dist/501.app.main.js', 1 * 1024); + await expectFileSizeToBeUnder('dist/888.app.main.js', 2 * 1024); + await expectFileSizeToBeUnder('dist/972.app.main.js', 2 * 1024); // test resource urls without ./
be61e3d3cd48f41fba4225ccf62e4a6d8fe4ba9a
2019-02-07 21:52:53
Cédric Exbrayat
docs: link to angular.io/cli instead of old wiki (#13596)
false
link to angular.io/cli instead of old wiki (#13596)
docs
diff --git a/etc/cli.angular.io/index.html b/etc/cli.angular.io/index.html index 24375b764f1a..71f55c419027 100644 --- a/etc/cli.angular.io/index.html +++ b/etc/cli.angular.io/index.html @@ -33,7 +33,7 @@ <label for="site-nav-checkbox">SITE MENU</label> <nav class="mdl-navigation"> - <a class="mdl-navigation__link" href="https://github.com/angular/angular-cli/wiki">Documentation</a> + <a class="mdl-navigation__link" href="https://angular.io/cli">Documentation</a> <a class="mdl-navigation__link" href="https://github.com/angular/angular-cli">GitHub</a> @@ -41,7 +41,7 @@ <div class="mdl-layout-spacer"></div> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="https://github.com/angular/angular-cli/releases"> Releases </a> - <a class="mdl-navigation__link" href="https://github.com/angular/angular-cli/wiki"> Get Started </a> + <a class="mdl-navigation__link" href="https://angular.io/cli"> Get Started </a> </nav> </div> </div> @@ -72,7 +72,7 @@ <div class="mdl-cell mdl-cell--6-col-desktop mdl-cell--12-col-tablet mdl-cell--12-col-phone"> <h4 class="">Angular CLI</h4> <h5 class="tagline">A command line interface for Angular</h5> - <a href="https://github.com/angular/angular-cli/wiki" class="mdl-typography--font-regular cta mdl-button mdl-button--raised mdl-button--primary"> + <a href="https://angular.io/cli" class="mdl-typography--font-regular cta mdl-button mdl-button--raised mdl-button--primary"> Get Started </a> </div> @@ -107,7 +107,7 @@ <h4>Test, Lint</h4> <div class="button-container mdl-cell mdl-cell--12-col-desktop center"> - <a href="https://github.com/angular/angular-cli/wiki" class="cta-button mdl-typography--font-regular mdl-button mdl-button--raised mdl-button--accent"> + <a href="https://angular.io/cli" class="cta-button mdl-typography--font-regular mdl-button mdl-button--raised mdl-button--accent"> Get Started </a> </div>
8e0ea9b339adf3fc87a8301e444fc0d90c05655c
2024-06-06 02:44:34
Doug Parker
docs: release notes for the v18.0.3 release
false
release notes for the v18.0.3 release
docs
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0abae0ac5421..bffd0a9be0ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +<a name="18.0.3"></a> + +# 18.0.3 (2024-06-05) + +### @angular/cli + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------------------------------------------------------- | +| [b709d2a24](https://github.com/angular/angular-cli/commit/b709d2a243926f1ab01e8c8a78d68fc57ab4cab3) | fix | add `schema.json` options to parsed command, also when a version is passed to `ng add <package>@<version>` | + +### @angular/build + +| Commit | Type | Description | +| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------- | +| [43a2a7d13](https://github.com/angular/angular-cli/commit/43a2a7d137328c1f6f865b76585a92f4e5058b13) | fix | avoid escaping rebased Sass URL values | +| [9acb5c7ca](https://github.com/angular/angular-cli/commit/9acb5c7ca8e6d14379e39f56d2498c0276214210) | fix | disable JS transformer persistent cache on web containers | +| [346df4909](https://github.com/angular/angular-cli/commit/346df490976e39d791db5ecfa14eab6a5ad8d99d) | fix | improve Sass rebaser ident token detection | +| [6526a5f59](https://github.com/angular/angular-cli/commit/6526a5f590fbc7f26b9e613af3b5c497e30603b5) | fix | watch all related files during a Sass error | + +<!-- CHANGELOG SPLIT MARKER --> + <a name="18.1.0-next.0"></a> # 18.1.0-next.0 (2024-05-29)
79ec4cb6f6481a435f7e128f2b974c2395e9e413
2016-03-04 09:50:35
gdi2290
feat: Multiple AppRoots for serverside rendering
false
Multiple AppRoots for serverside rendering
feat
diff --git a/modules/universal/server/src/render.ts b/modules/universal/server/src/render.ts index ae00e86c30ed..90373ab4e531 100644 --- a/modules/universal/server/src/render.ts +++ b/modules/universal/server/src/render.ts @@ -1,4 +1,9 @@ -import {bootstrap} from './platform/node'; +import { + bootstrap, + buildReflector, + NODE_PROVIDERS, + buildNodeAppProviders +} from './platform/node'; import {parseDocument, serializeDocument} from './platform/document'; import {DOCUMENT} from 'angular2/platform/common_dom'; @@ -19,7 +24,7 @@ import {isBlank, isPresent} from 'angular2/src/facade/lang'; import {SharedStylesHost} from 'angular2/src/platform/dom/shared_styles_host'; -import {NgZone, DirectiveResolver, ComponentRef, Provider, Type} from 'angular2/core'; +import {NgZone, platform, DirectiveResolver, ComponentRef, Provider, Type} from 'angular2/core'; import {Http} from 'angular2/http'; import {Router} from 'angular2/router'; @@ -28,7 +33,15 @@ export function addPrebootHtml(AppComponent, html, prebootConfig: any = {}): any return html; } - prebootConfig.appRoot = prebootConfig.appRoot || selectorResolver(AppComponent); + let selector = null; + if (!Array.isArray(AppComponent)) { + selector = selectorResolver(AppComponent); + } else { + selector = AppComponent.map(selectorResolver); + } + // Get selector from Component selector metadata + prebootConfig.appRoots = prebootConfig.appRoots || selector; + let config = prebootConfigDefault(prebootConfig); return getBrowserCode(config).then(code => html + createPrebootHTML(code, config)); } @@ -42,10 +55,9 @@ function waitRouter(appRef: ComponentRef): Promise<ComponentRef> { } export function renderDocument( - documentHtml: string, - componentType: Type, - nodeProviders?: any -): Promise<string> { + documentHtml: string, + componentType: Type, + nodeProviders?: any): Promise<string> { return bootstrap(componentType, [ ...nodeProviders, @@ -110,17 +122,34 @@ export function appRefSyncRender(appRef: any): string { return serializedApp; } +export function platformNode(config: any = {}): any { + buildReflector(); + var app = platform(NODE_PROVIDERS) + .application(buildNodeAppProviders(config.document, config.providers)); + return function bootstrapNode(Component?: any, componentProviders?: Array<any>) { + return app.bootstrap(Component || config.component, config.componentProviders) + .then(waitRouter); + }; +} + +export function applicationToString(appRef: ComponentRef): string { + let html = appRefSyncRender(appRef); + appRef.dispose(); + return html; +} + + + + + export function renderToString(AppComponent: any, nodeProviders?: any): Promise<string> { + console.warn('DEPRECATION WARNING: `renderToString` is no longer supported and will be removed in next release.'); return bootstrap(AppComponent, nodeProviders) - .then(waitRouter) - .then((appRef: ComponentRef) => { - let html = appRefSyncRender(appRef); - appRef.dispose(); - return html; - }); + .then(applicationToString); } - export function renderToStringWithPreboot(AppComponent: any, nodeProviders?: any, prebootConfig: any = {}): Promise<string> { - return renderToString(AppComponent, nodeProviders).then(html => addPrebootHtml(AppComponent, html, prebootConfig)); + console.warn('DEPRECATION WARNING: `renderToStringWithPreboot` is no longer supported and will be removed in next release.'); + return renderToString(AppComponent, nodeProviders) + .then(html => addPrebootHtml(AppComponent, html, prebootConfig)); }
d22e9ae73763923980fc1e59cfb2a0bf255b98d8
2017-02-13 18:11:05
Stephen Cavaliere
chore: fix documentation end of file consistency (#4119)
false
fix documentation end of file consistency (#4119)
chore
diff --git a/docs/design/docker-deploy.md b/docs/design/docker-deploy.md index 97868dca9ace..bd0ec6740b68 100644 --- a/docs/design/docker-deploy.md +++ b/docs/design/docker-deploy.md @@ -290,7 +290,7 @@ Example ngConfig model for saved docker command state (per project): isImageDeploy: true, serviceName: 'ngapp' } - } + } } } ``` diff --git a/docs/design/ngConfig.md b/docs/design/ngConfig.md index 66f1cd53eb86..bb3573212900 100644 --- a/docs/design/ngConfig.md +++ b/docs/design/ngConfig.md @@ -90,7 +90,7 @@ For example, assuming the following globals/locals: ```js // Global -{ +{ "key1": { "key2": { "value": 0, @@ -100,7 +100,7 @@ For example, assuming the following globals/locals: } // Local -{ +{ "key1": { "key2": { "value2": 2, @@ -136,4 +136,3 @@ console.log(config.local.key1.key2.value4); // 99, the global value. config.save(); // Commits if there's a change to global and/or local. ``` - diff --git a/docs/design/third-party-libraries.md b/docs/design/third-party-libraries.md index ae087c07b815..d07feeb8cd65 100644 --- a/docs/design/third-party-libraries.md +++ b/docs/design/third-party-libraries.md @@ -77,7 +77,7 @@ The `install` task will perform the following subtasks: 1. **Detect if a package named `angular/cli-wrapper-${libName}` exist in the angular organization.** If so, run the steps above as if ng install angular/angular-${libName}. If this install fails, ignore the failure. - + These packages can be used to wrap libraries that we want to support but can't update easily, like Jasmine or LESS. 1. **Install typings.** See the [Typings](#typings) section. diff --git a/docs/documentation/generate.md b/docs/documentation/generate.md index 526b0680811b..28346ebc912d 100644 --- a/docs/documentation/generate.md +++ b/docs/documentation/generate.md @@ -13,4 +13,4 @@ - [interface](interface) - [module](module) - [pipe](pipe) - - [service](service) \ No newline at end of file + - [service](service) diff --git a/docs/documentation/generate/class.md b/docs/documentation/generate/class.md index 6e740a0977e9..6dc57ad014ba 100644 --- a/docs/documentation/generate/class.md +++ b/docs/documentation/generate/class.md @@ -6,4 +6,4 @@ `ng generate class [name]` generates a class ## Options -`--spec` specifies if a spec file is generated \ No newline at end of file +`--spec` specifies if a spec file is generated diff --git a/docs/documentation/new.md b/docs/documentation/new.md index 1dc19d6746fd..3f4d5361e63e 100644 --- a/docs/documentation/new.md +++ b/docs/documentation/new.md @@ -26,4 +26,4 @@ Default applications are created in a directory of the same name, with an initia `--inline-style` (`is`) flag to indicate if the app component should have an inline style -`--inline-template` (`it`) flag to indicate if the app component should have an inline template \ No newline at end of file +`--inline-template` (`it`) flag to indicate if the app component should have an inline template diff --git a/docs/documentation/stories/css-preprocessors.md b/docs/documentation/stories/css-preprocessors.md index d54b5ad6b270..b897b0893af0 100644 --- a/docs/documentation/stories/css-preprocessors.md +++ b/docs/documentation/stories/css-preprocessors.md @@ -29,4 +29,4 @@ Or set the default style on an existing project: ```bash ng set defaults.styleExt scss -``` \ No newline at end of file +``` diff --git a/docs/documentation/stories/global-lib.md b/docs/documentation/stories/global-lib.md index 22f8508e0b7e..756dbc952d04 100644 --- a/docs/documentation/stories/global-lib.md +++ b/docs/documentation/stories/global-lib.md @@ -32,4 +32,4 @@ Finally add the Bootstrap CSS to the `apps[0].styles` array: ``` Restart `ng serve` if you're running it, and Bootstrap 4 should be working on -your app. \ No newline at end of file +your app. diff --git a/docs/documentation/stories/include-angular-material.md b/docs/documentation/stories/include-angular-material.md index 1ee53154a73b..d2e30afe514b 100644 --- a/docs/documentation/stories/include-angular-material.md +++ b/docs/documentation/stories/include-angular-material.md @@ -1,6 +1,6 @@ # Include [Angular Material](https://material.angular.io) -[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps. +[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps. This guide will walk you through adding material design to your Angular CLI project and configuring it to use Angular Material. Create a new project and navigate into the project... @@ -16,10 +16,10 @@ npm install --save @angular/material Import the Angular Material NgModule into your app module... ```javascript -//in src/app/app.module.ts +//in src/app/app.module.ts import { MaterialModule } from '@angular/material'; -// other imports +// other imports @NgModule({ imports: [ @@ -49,15 +49,15 @@ To verify Angular Material has been set up correctly, change `src/app/app.compon </h1> <button md-raised-button> - Angular Material works! + Angular Material works! <md-icon>done</md-icon> </button> ``` After saving this file, return to the browser to see the Angular Material styled button. -### More Info +### More Info - [Getting Started](https://material.angular.io/guide/getting-started) - [Theming Angular Material](https://material.angular.io/guide/theming) - - [Theming your own components](https://material.angular.io/guide/theming-your-components) \ No newline at end of file + - [Theming your own components](https://material.angular.io/guide/theming-your-components) diff --git a/docs/documentation/stories/include-angularfire.md b/docs/documentation/stories/include-angularfire.md index 1825a8e4cdae..a99f15caae3a 100644 --- a/docs/documentation/stories/include-angularfire.md +++ b/docs/documentation/stories/include-angularfire.md @@ -3,7 +3,7 @@ # Include AngularFire [Firebase](https://firebase.google.com/) is a mobile and web application platform with tools and infrastructure designed -to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official +to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official Angular library to use Firebase in your apps. #### Create new project @@ -46,7 +46,7 @@ Firebase offers an easy way to get this, by showing a JavaScript object that you #### Configure the Environment -These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to +These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to use different credentials in development and production. Open `src/environments/environment.ts` and add a key `firebase` to the exported constant: @@ -76,7 +76,7 @@ import { AngularFireModule } from 'angularfire2'; import { environment } from '../environments/environment'; ``` -To initialize AngularFire add the following line to the `imports` array inside the `NgModule`: +To initialize AngularFire add the following line to the `imports` array inside the `NgModule`: ```typescript @NgModule({ @@ -90,4 +90,4 @@ To initialize AngularFire add the following line to the `imports` array inside t }) ``` -#### Congratulations, you can now use Firebase in your Angular app! \ No newline at end of file +#### Congratulations, you can now use Firebase in your Angular app! diff --git a/docs/documentation/stories/proxy.md b/docs/documentation/stories/proxy.md index 7ca5a45b786f..32f4fef331be 100644 --- a/docs/documentation/stories/proxy.md +++ b/docs/documentation/stories/proxy.md @@ -25,4 +25,4 @@ and then we edit the `package.json` file's start script to be "start": "ng serve --proxy-config proxy.conf.json", ``` -now run it with `npm start` \ No newline at end of file +now run it with `npm start` diff --git a/docs/documentation/stories/third-party-lib.md b/docs/documentation/stories/third-party-lib.md index 2d78b5787000..7c3e8e2c931f 100644 --- a/docs/documentation/stories/third-party-lib.md +++ b/docs/documentation/stories/third-party-lib.md @@ -27,4 +27,4 @@ manually adding typings for it: typelessPackage.method(); ``` -Done. Note: you might need or find useful to define more typings for the library that you're trying to use. \ No newline at end of file +Done. Note: you might need or find useful to define more typings for the library that you're trying to use. diff --git a/docs/documentation/test.md b/docs/documentation/test.md index 59c3c6449dca..0832cf50d416 100644 --- a/docs/documentation/test.md +++ b/docs/documentation/test.md @@ -28,4 +28,4 @@ You can run tests with coverage via `--code-coverage`. The coverage report will `--reporters` list of reporters to use -`--build` flag to build prior to running tests \ No newline at end of file +`--build` flag to build prior to running tests
61adf9ae35ff8440ecfa0334356cd54986eefc9c
2019-03-06 23:35:31
Hans Larsen
refactor(@angular-devkit/build-angular): remove useless variable rename
false
remove useless variable rename
refactor
diff --git a/packages/angular_devkit/build_angular/src/tslint/index2.ts b/packages/angular_devkit/build_angular/src/tslint/index2.ts index c301628db64e..ae1299321b34 100644 --- a/packages/angular_devkit/build_angular/src/tslint/index2.ts +++ b/packages/angular_devkit/build_angular/src/tslint/index2.ts @@ -37,15 +37,17 @@ async function _loadTslint() { } -async function _run(config: TslintBuilderOptions, context: BuilderContext): Promise<BuilderOutput> { +async function _run( + options: TslintBuilderOptions, + context: BuilderContext, +): Promise<BuilderOutput> { const systemRoot = context.workspaceRoot; process.chdir(context.currentDirectory); - const options = config; - const projectName = context.target && context.target.project || '<???>'; + const projectName = (context.target && context.target.project) || '<???>'; // Print formatter output only for non human-readable formats. - const printInfo = ['prose', 'verbose', 'stylish'].includes(options.format || '') - && !options.silent; + const printInfo = + ['prose', 'verbose', 'stylish'].includes(options.format || '') && !options.silent; context.reportStatus(`Linting ${JSON.stringify(projectName)}...`); if (printInfo) { @@ -72,8 +74,14 @@ async function _run(config: TslintBuilderOptions, context: BuilderContext): Prom let i = 0; for (const program of allPrograms) { - const partial - = await _lint(projectTslint, systemRoot, tslintConfigPath, options, program, allPrograms); + const partial = await _lint( + projectTslint, + systemRoot, + tslintConfigPath, + options, + program, + allPrograms, + ); if (result === undefined) { result = partial; } else {
84030f42346aaadf39696265e9abd74a626e8378
2017-05-31 22:14:39
Trotyl Yu
docs(README): update renderer example for Renderer2 (#731)
false
update renderer example for Renderer2 (#731)
docs
diff --git a/README.md b/README.md index 5bc89f4ab230..ddebc3445168 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ This repository will host the various tools like engines to integrate with vario - Also for RxJs timeouts, make sure to _cancel_ their stream on success, for they can slow down rendering as well. - **Don't manipulate the nativeElement directly**. Use the _Renderer2_. We do this to ensure that in any environment we're able to change our view. ``` -constructor(element: ElementRef, renderer: Renderer) { - renderer.setElementStyle(element.nativeElement, 'font-size', 'x-large'); +constructor(element: ElementRef, renderer: Renderer2) { + renderer.setStyle(element.nativeElement, 'font-size', 'x-large'); } ``` - The application runs XHR requests on the server & once again on the Client-side (when the application bootstraps)
154236501f2a8629e229862329fce9e1d9a09337
2022-03-16 19:37:44
Alan Agius
refactor(@angular/cli): add package manager in command context
false
add package manager in command context
refactor
diff --git a/packages/angular/cli/src/command-builder/architect-base-command-module.ts b/packages/angular/cli/src/command-builder/architect-base-command-module.ts index 0582d9a6e472..04d9e7474afb 100644 --- a/packages/angular/cli/src/command-builder/architect-base-command-module.ts +++ b/packages/angular/cli/src/command-builder/architect-base-command-module.ts @@ -12,7 +12,6 @@ import { json } from '@angular-devkit/core'; import { existsSync } from 'fs'; import { resolve } from 'path'; import { isPackageNameSafeForAnalytics } from '../analytics/analytics'; -import { getPackageManager } from '../utilities/package-manager'; import { CommandModule, CommandModuleError, @@ -100,7 +99,7 @@ export abstract class ArchitectBaseCommandModule<T> builderDesc = await architectHost.resolveBuilder(builderConf); } catch (e) { if (e.code === 'MODULE_NOT_FOUND') { - await this.warnOnMissingNodeModules(); + this.warnOnMissingNodeModules(); throw new CommandModuleError(`Could not find the '${builderConf}' builder's node package.`); } @@ -114,7 +113,7 @@ export abstract class ArchitectBaseCommandModule<T> ); } - private async warnOnMissingNodeModules(): Promise<void> { + private warnOnMissingNodeModules(): void { const basePath = this.context.workspace?.basePath; if (!basePath) { return; @@ -134,9 +133,8 @@ export abstract class ArchitectBaseCommandModule<T> return; } - const packageManager = await getPackageManager(basePath); this.context.logger.warn( - `Node packages may not be installed. Try installing with '${packageManager} install'.`, + `Node packages may not be installed. Try installing with '${this.context.packageManager} install'.`, ); } } diff --git a/packages/angular/cli/src/command-builder/command-runner.ts b/packages/angular/cli/src/command-builder/command-runner.ts index 7bdad2f8d335..80693ba68efb 100644 --- a/packages/angular/cli/src/command-builder/command-runner.ts +++ b/packages/angular/cli/src/command-builder/command-runner.ts @@ -28,6 +28,7 @@ import { UpdateCommandModule } from '../commands/update/cli'; import { VersionCommandModule } from '../commands/version/cli'; import { colors } from '../utilities/color'; import { AngularWorkspace } from '../utilities/config'; +import { getPackageManager } from '../utilities/package-manager'; import { CommandContext, CommandModuleError, CommandScope } from './command-module'; import { addCommandModuleToYargs, demandCommandFailureMessage } from './utilities/command'; import { jsonHelpUsage } from './utilities/json-help'; @@ -72,6 +73,7 @@ export async function runCommand( logger, currentDirectory: process.cwd(), root: workspace?.basePath ?? process.cwd(), + packageManager: await getPackageManager(workspace?.basePath ?? process.cwd()), args: { positional: positional.map((v) => v.toString()), options: { diff --git a/packages/angular/cli/src/commands/version/cli.ts b/packages/angular/cli/src/commands/version/cli.ts index 3523fd243f86..0a90891e3cfc 100644 --- a/packages/angular/cli/src/commands/version/cli.ts +++ b/packages/angular/cli/src/commands/version/cli.ts @@ -12,7 +12,6 @@ import { resolve } from 'path'; import { Argv } from 'yargs'; import { CommandModule, CommandModuleImplementation } from '../../command-builder/command-module'; import { colors } from '../../utilities/color'; -import { getPackageManager } from '../../utilities/package-manager'; interface PartialPackageInfo { name: string; @@ -126,7 +125,7 @@ export class VersionCommandModule extends CommandModule implements CommandModule ` Angular CLI: ${ngCliVersion} Node: ${process.versions.node}${unsupportedNodeVersion ? ' (Unsupported)' : ''} - Package Manager: ${await this.getPackageManagerVersion()} + Package Manager: ${this.getPackageManagerVersion()} OS: ${process.platform} ${process.arch} Angular: ${angularCoreVersion} @@ -194,9 +193,9 @@ export class VersionCommandModule extends CommandModule implements CommandModule return '<error>'; } - private async getPackageManagerVersion(): Promise<string> { + private getPackageManagerVersion(): string { try { - const manager = await getPackageManager(this.context.root); + const manager = this.context.packageManager; const version = execSync(`${manager} --version`, { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'],
09daf7a7e0886738f25f071aa5e072e1dc06bf7e
2021-03-22 18:46:05
Alan Agius
fix(@schematics/angular): remove leftover workspace tslint config
false
remove leftover workspace tslint config
fix
diff --git a/packages/schematics/angular/workspace/files/tslint.json.template b/packages/schematics/angular/workspace/files/tslint.json.template deleted file mode 100644 index 733008b7557e..000000000000 --- a/packages/schematics/angular/workspace/files/tslint.json.template +++ /dev/null @@ -1,140 +0,0 @@ -{ - "extends": "tslint:recommended", - "rulesDirectory": [ - "codelyzer" - ], - "rules": { - "align": { - "options": [ - "parameters", - "statements" - ] - }, - "array-type": false, - "arrow-return-shorthand": true, - "curly": true, - "deprecation": { - "severity": "warning" - }, - "eofline": true, - "import-blacklist": [ - true, - "rxjs/Rx" - ], - "import-spacing": true, - "indent": { - "options": [ - "spaces" - ] - }, - "max-classes-per-file": false, - "max-line-length": [ - true, - 140 - ], - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-empty": false, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-non-null-assertion": true, - "no-redundant-jsdoc": true, - "no-switch-case-fall-through": true, - "no-var-requires": false, - "object-literal-key-quotes": [ - true, - "as-needed" - ], - "quotemark": [ - true, - "single" - ], - "semicolon": { - "options": [ - "always" - ] - }, - "space-before-function-paren": { - "options": { - "anonymous": "never", - "asyncArrow": "always", - "constructor": "never", - "method": "never", - "named": "never" - } - }, - "typedef": [ - true, - "call-signature" - ], - "typedef-whitespace": { - "options": [ - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - }, - { - "call-signature": "onespace", - "index-signature": "onespace", - "parameter": "onespace", - "property-declaration": "onespace", - "variable-declaration": "onespace" - } - ] - }, - "variable-name": { - "options": [ - "ban-keywords", - "check-format", - "allow-pascal-case" - ] - }, - "whitespace": { - "options": [ - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type", - "check-typecast" - ] - }, - "component-class-suffix": true, - "contextual-lifecycle": true, - "directive-class-suffix": true, - "no-conflicting-lifecycle": true, - "no-host-metadata-property": true, - "no-input-rename": true, - "no-inputs-metadata-property": true, - "no-output-native": true, - "no-output-on-prefix": true, - "no-output-rename": true, - "no-outputs-metadata-property": true, - "template-banana-in-box": true, - "template-no-negated-async": true, - "use-lifecycle-interface": true, - "use-pipe-transform-interface": true - } -} diff --git a/packages/schematics/angular/workspace/index.ts b/packages/schematics/angular/workspace/index.ts index 05282267baf5..fe40febfdc03 100644 --- a/packages/schematics/angular/workspace/index.ts +++ b/packages/schematics/angular/workspace/index.ts @@ -20,10 +20,8 @@ import { Schema as WorkspaceOptions } from './schema'; export default function (options: WorkspaceOptions): Rule { - const minimalFilesRegExp = /(.editorconfig|tslint.json)\.template$/; - return mergeWith(apply(url('./files'), [ - options.minimal ? filter(path => !minimalFilesRegExp.test(path)) : noop(), + options.minimal ? filter(path => !path.endsWith('editorconfig.template')) : noop(), applyTemplates({ utils: strings, ...options, diff --git a/packages/schematics/angular/workspace/index_spec.ts b/packages/schematics/angular/workspace/index_spec.ts index e3ff5984f204..a57e9252853e 100644 --- a/packages/schematics/angular/workspace/index_spec.ts +++ b/packages/schematics/angular/workspace/index_spec.ts @@ -33,7 +33,6 @@ describe('Workspace Schematic', () => { '/package.json', '/README.md', '/tsconfig.json', - '/tslint.json', ])); }); @@ -69,7 +68,6 @@ describe('Workspace Schematic', () => { '/tsconfig.json', ])); - expect(files).not.toContain('/tslint.json'); expect(files).not.toContain('/.editorconfig'); }); diff --git a/tests/legacy-cli/e2e/tests/commands/new/new-minimal.ts b/tests/legacy-cli/e2e/tests/commands/new/new-minimal.ts index 54998811d7a3..0b080efa92ef 100644 --- a/tests/legacy-cli/e2e/tests/commands/new/new-minimal.ts +++ b/tests/legacy-cli/e2e/tests/commands/new/new-minimal.ts @@ -15,7 +15,6 @@ export default function() { .then(() => expectFileNotToExist('protractor.conf.js')) .then(() => expectFileNotToExist('src/test.ts')) .then(() => expectFileNotToExist('tsconfig.spec.json')) - .then(() => expectFileNotToExist('tslint.json')) .then(() => expectFileNotToExist('src/app/app.component.html')) .then(() => expectFileNotToExist('src/app/app.component.css')) .then(() => expectFileNotToExist('src/app/app.component.spec.ts'))
daf0ec8de8841eb51f5c578ec7c6bb74478b0ab4
2018-09-26 02:05:03
Alireza Mirian
fix(@angular/cli): suggest windows-compatible typescript install command
false
suggest windows-compatible typescript install command
fix
diff --git a/packages/angular/cli/upgrade/version.ts b/packages/angular/cli/upgrade/version.ts index a24b87231fd1..7cf97e6c8f5c 100644 --- a/packages/angular/cli/upgrade/version.ts +++ b/packages/angular/cli/upgrade/version.ts @@ -182,7 +182,7 @@ export class Version { Please run the following command to install a compatible version of TypeScript. - npm install typescript@'${currentCombo.typescript}' + npm install typescript@"${currentCombo.typescript}" To disable this warning run "ng config cli.warnings.typescriptMismatch false". ` + '\n')));
c596c504ed13e0101eb1ae9463fbfb00269cd9ce
2020-03-03 01:43:37
Renovate Bot
build: update webpack to version 4.42.0
false
update webpack to version 4.42.0
build
diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index 039396413104..2f6b23cab048 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -60,7 +60,7 @@ "tree-kill": "1.2.2", "terser": "4.6.4", "terser-webpack-plugin": "2.3.5", - "webpack": "4.41.6", + "webpack": "4.42.0", "webpack-dev-middleware": "3.7.2", "webpack-dev-server": "3.10.3", "webpack-merge": "4.2.2",
b1cbf17bd4139494f60dff940840dc2e559040ec
2016-11-24 00:06:58
Jason Kulatunga
fix(build): use custom index value when copying to 404.html during github deploy (#3201)
false
use custom index value when copying to 404.html during github deploy (#3201)
fix
diff --git a/packages/angular-cli/commands/github-pages-deploy.ts b/packages/angular-cli/commands/github-pages-deploy.ts index eb4f806e4f32..bf8334c8f959 100644 --- a/packages/angular-cli/commands/github-pages-deploy.ts +++ b/packages/angular-cli/commands/github-pages-deploy.ts @@ -97,6 +97,7 @@ const githubPagesDeployCommand = Command.extend({ const projectName = this.project.pkg.name; const outDir = CliConfig.fromProject().config.apps[0].outDir; + const indexFilename = CliConfig.fromProject().config.apps[0].index; let ghPagesBranch = 'gh-pages'; let destinationBranch = options.userPage ? 'master' : ghPagesBranch; @@ -216,7 +217,7 @@ const githubPagesDeployCommand = Command.extend({ } function createNotFoundPage() { - const indexHtml = path.join(root, 'index.html'); + const indexHtml = path.join(root, indexFilename); const notFoundPage = path.join(root, '404.html'); return fsCopy(indexHtml, notFoundPage); }
f776d3cf7982b64734c57fe4407434e9f4ec09f7
2018-01-03 00:02:36
Filipe Silva
ci: fix Invalid string length for process buffer on circleci
false
fix Invalid string length for process buffer on circleci
ci
diff --git a/tests/e2e/setup/100-global-cli.ts b/tests/e2e/setup/100-global-cli.ts index 5f3bc897c7a1..0db3b19c3780 100644 --- a/tests/e2e/setup/100-global-cli.ts +++ b/tests/e2e/setup/100-global-cli.ts @@ -13,7 +13,9 @@ export default function () { } // Install global Angular CLI. - return silentNpm('install', '-g', packages['@angular/cli'].tar); + // --unsafe-perm is needed for circleci + // because of https://github.com/sass/node-sass/issues/2006 + return silentNpm('install', '-g', packages['@angular/cli'].tar, '--unsafe-perm'); }) .then(() => exec(process.platform.startsWith('win') ? 'where' : 'which', 'ng')); }
99c2e54850a41541eb499da0ddb96ddd7703457b
2016-12-08 21:41:22
Mark Pieszak
docs(readme): update universalcache gotcha
false
update universalcache gotcha
docs
diff --git a/README.md b/README.md index 0d4f7ca6907b..a92c806ff11d 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ constructor(element: ElementRef, renderer: Renderer) { } ``` - The application runs XHR requests on the server & once again on the Client-side (when the application bootstraps) - - Use a [UniversalCache](https://github.com/angular/universal-starter/blob/master/src/app/shared/api.service.ts#L46-L71) instead of regular Http, to save certain requests so they aren't re-ran again on the Client. + - Use a [UniversalCache](https://github.com/angular/universal-starter/blob/master/src/%2Bapp/shared/model/model.service.ts#L34-L50) instead of regular Http, to save certain requests so they aren't re-ran again on the Client. ([Example useage here](https://github.com/angular/universal-starter/blob/cc71e2d5b2d783f2bb52eebd1b5c6fa0ba23f08a/src/%2Bapp/%2Bhome/home.component.ts#L22-L24)) - Know the difference between attributes and properties in relation to the DOM. - Keep your directives stateless as much as possible. For stateful directives, you may need to provide an attribute that reflects the corresponding property with an initial string value such as url in img tag. For our native <img src=""> element the src attribute is reflected as the src property of the element type HTMLImageElement.
9b83bbe17351962ed9160162791983c1535686ad
2018-12-23 09:55:30
CaerusKaru
build: update Bazel to use fine-grained deps (#1083)
false
update Bazel to use fine-grained deps (#1083)
build
diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc new file mode 100644 index 000000000000..327a880860d8 --- /dev/null +++ b/.circleci/bazel.rc @@ -0,0 +1,7 @@ +# Bazel configuration that will be copied to /etc/bazel.bazelrc in CircleCI containers. +# This allows us adding specific configuration flags for builds within CircleCI. +# See more: https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files + +# Save downloaded repositories in a location that can be cached by CircleCI. This helps us +# speeding up the analysis time significantly with Bazel managed node dependencies on the CI. +build --experimental_repository_cache=/home/circleci/bazel_repository_cache diff --git a/.circleci/config.yml b/.circleci/config.yml index da9c372cadca..de7998b4a1f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,107 +1,108 @@ -# This file configures the build at https://circleci.com/gh/angular/universal -# Complete documentation is at https://circleci.com/docs/2.0/ - -# We use a docker image as the basis for our build, so that all the toolchains we use -# are already installed and the build can start running right away. It also guarantees -# the environment is portable and reproducible on your local machine. -var_1: &docker_image angular/ngcontainer:0.3.0 - -# CircleCI lets us pick the key for storing one or more caches, to speed up subsequent builds. -# We can use this to avoid re-fetching our dependencies from npm on every build. -# To ensure we don't load a stale cache, we invalidate it based on the entries in the key: -# - the checksum of Yarn's lock file -# - the branch we are on, which really shouldn't be needed since the yarn lock file should be hermetic -# - the docker image tag, working around an issue we saw where changing docker images causes permission -# errors when restoring the cache, like when the user we run as changes -var_2: &cache_key angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.3.0 - -# Each job will inherit these defaults -anchor_1: &job_defaults +# Configuration file for https://circleci.com/gh/angular/universal + +# Note: YAML anchors allow an object to be re-used, reducing duplication. +# The ampersand declares an alias for an object, then later the `<<: *name` +# syntax dereferences it. +# See http://blog.daemonl.com/2016/02/yaml.html +# To validate changes, use an online parser, eg. +# http://yaml-online-parser.appspot.com/ + +# Note that the browser docker image comes with Chrome and Firefox preinstalled. This is just +# needed for jobs that run tests without Bazel. Bazel runs tests with browsers that will be +# fetched by the Webtesting rules. Therefore for jobs that run tests with Bazel, we don't need a +# docker image with browsers pre-installed. +# **NOTE**: If you change the the version of the docker images, also change the `cache_key` suffix. +var_1: &docker_image angular/ngcontainer:0.7.0 +var_2: &cache_key v2-nguniversal-{{ .Branch }}-{{ checksum "yarn.lock" }}-node-10.12 + +# Settings common to each job +var_3: &job_defaults working_directory: ~/ng docker: - - image: *docker_image + - image: *docker_image + +# Job step for checking out the source code from GitHub. This also ensures that the source code +# is rebased on top of master. +var_4: &checkout_code + checkout: + # After checkout, rebase on top of master. By default, PRs are not rebased on top of master, + # which we want. See https://discuss.circleci.com/t/1662 + post: git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge" + +# Restores the cache that could be available for the current Yarn lock file. The cache usually +# includes the node modules and the Bazel repository cache. +var_5: &restore_cache + restore_cache: + key: *cache_key + +# Saves the cache for the current Yarn lock file. We store the node modules and the Bazel +# repository cache in order to make subsequent builds faster. +var_6: &save_cache + save_cache: + key: *cache_key + paths: + - "node_modules" + - "~/bazel_repository_cache" + +# Job step that ensures that the node module dependencies are installed and up-to-date. We use +# Yarn with the frozen lockfile option in order to make sure that lock file and package.json are +# in sync. Unlike in Travis, we don't need to manually purge the node modules if stale because +# CircleCI automatically discards the cache if the checksum of the lock file has changed. +var_7: &yarn_install + run: yarn install --frozen-lockfile --non-interactive + +# Copies the Bazel config which is specifically for CircleCI to a location where Bazel picks it +# up and merges it with the project-wide bazel configuration (tools/bazel.rc) +var_8: &copy_bazel_config + # Set up the CircleCI specific bazel configuration. + run: sudo cp ./.circleci/bazel.rc /etc/bazel.bazelrc + +# Sets up a different Docker image that includes a moe recent Firefox version which +# is needed for headless testing. +var_9: &docker-firefox-image + # TODO(CaerusKaru): Temporarily use a image that includes Firefox 62 because the + # ngcontainer image does include an old Firefox version that does not support headless. + - image: circleci/node:11.4.0-browsers + +# Attaches the release output which has been stored in the workspace to the current job. +# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs +var_10: &attach_release_output + attach_workspace: + at: dist -# After checkout, rebase on top of master, because we want to test the proposed merge of a -# onto the target branch, not just test what's on the user's fork. -# Similar to travis behavior, but not quite the same. -# See https://discuss.circleci.com/t/1662 -anchor_2: &post_checkout - post: git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge" - -# Opt-in to the new goodness version: 2 -# These jobs will run in parallel, and report separate statuses to GitHub PRs jobs: - bazel-lint: - <<: *job_defaults - steps: - - checkout: - <<: *post_checkout - # Enforce that BUILD files are formatted. Note that this uses the version of buildifier - # from the docker image above - take care that you use the same version when you run - # buildifier locally on your change. - - run: 'buildifier -mode=check $(find . -type f \( -name BUILD.bazel -or -name BUILD \)) || - (echo "BUILD files not formatted. Please run ''yarn buildifier''" ; exit 1)' - - lint: - <<: *job_defaults - steps: - - checkout: - <<: *post_checkout - # TODO: Don't do this - - run: yarn install --frozen-lockfile - - run: yarn lint - build: <<: *job_defaults resource_class: xlarge steps: - - checkout: - <<: *post_checkout - - - restore_cache: - key: *cache_key - - - run: bazel info release - - # TODO: Don't do this - - run: yarn install --frozen-lockfile - # Install the dependencies from NPM - #- run: bazel run @yarn//:yarn install + - *checkout_code + - *restore_cache + - *copy_bazel_config - # Build and Test - # Use bazel query so that we explicitly ask for all buildable targets to - # be built even though we run `bazel test` - # See https://github.com/bazelbuild/bazel/issues/4257 - #- run: bazel query //... | xargs bazel test --config=ci - - run: bazel test //... + - run: bazel test //... - - store_artifacts: - path: dist/bin/modules/aspnetcore-engine/npm_package/fesm2015/aspnetcore-engine.js - destination: aspnetcore-engine.js + # Note: We want to save the cache in this job because the workspace cache also + # includes the Bazel repository cache that will be updated in this job. + - *save_cache - - store_artifacts: - path: dist/bin/modules/common/npm_package/fesm2015/common.js - destination: common.js - - - store_artifacts: - path: dist/bin/modules/express-engine/npm_package/fesm2015/express-engine.js - destination: express-engine.js - - - store_artifacts: - path: dist/bin/modules/hapi-engine/npm_package/fesm2015/hapi-engine.js - destination: hapi-engine.js - - - store_artifacts: - path: dist/bin/modules/module-map-ngfactory-loader/npm_package/fesm2015/module-map-ngfactory-loader.js - destination: module-map-ngfactory-loader.js - - # If we get this far, save the node_modules directory for use next time. - - save_cache: - key: *cache_key - paths: - - "node_modules" + lint: + <<: *job_defaults + steps: + - *checkout_code + - *restore_cache + - *yarn_install + + # Enforce that BUILD files are formatted. Note that this uses the version of buildifier + # from the docker image above - take care that you use the same version when you run + # buildifier locally on your change. + - run: 'yarn bazel:format -mode=check || + (echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)' + # Run the skylark linter to check our Bazel rules + - run: 'yarn bazel:lint || + (echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)' + - run: yarn lint # This job exists only for backwards-compatibility with old scripts and tests # that rely on the pre-Bazel dist/modules-dist layout. @@ -114,18 +115,18 @@ jobs: <<: *job_defaults resource_class: xlarge steps: - - checkout: - <<: *post_checkout + - *checkout_code + - *restore_cache + - *yarn_install - - run: bazel run @yarn//:yarn - - run: scripts/build-modules-dist.sh + - run: scripts/build-modules-dist.sh - # Save the npm packages from //modules/... for other workflow jobs to read - # https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs - - persist_to_workspace: - root: dist - paths: - - modules-dist + # Save the npm packages from //modules/... for other workflow jobs to read + # https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs + - persist_to_workspace: + root: dist + paths: + - modules-dist # We run the integration tests outside of Bazel for now. # They are a separate workflow job so that they can be easily re-run. @@ -134,24 +135,38 @@ jobs: # need to re-run manually should be alleviated. # See comments inside the integration/run_tests.sh script. integration_test: + <<: *job_defaults + docker: *docker-firefox-image + steps: + - *checkout_code + - *restore_cache + - *yarn_install + - *attach_release_output + - run: ./integration/run_tests.sh + + # TODO(CaerusKaru): remove this step + bazel-lint: <<: *job_defaults steps: - - checkout: - <<: *post_checkout - - attach_workspace: - at: dist - - restore_cache: - key: *cache_key - - run: xvfb-run --auto-servernum ./integration/run_tests.sh + - run: exit 0 workflows: version: 2 default_workflow: jobs: - - build - - bazel-lint - - lint - - build-packages-dist - - integration_test: - requires: - - build-packages-dist + - build + - bazel-lint + - lint + - build-packages-dist + - integration_test: + requires: + - build-packages-dist + +general: + branches: + only: + - master + # 5.2.x, 6.0.x, etc + - /\d+\.\d+\.x/ + # 5.x, 6.x, etc + - /\d+\.x/ diff --git a/.gitignore b/.gitignore index ef131c8f9826..85cc9701906b 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,7 @@ lerna-debug.log integration/**/yarn.lock integration/**/built/ .yarn_local_cache +bazel-bin +bazel-genfiles +bazel-testlogs +bazel-universal diff --git a/BUILD.bazel b/BUILD.bazel index b4a274664e38..ffd0fb0cdc5b 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,33 +1 @@ -# Marker file indicating this folder is a Bazel package. -# Needed so that tsconfig.json can be referenced from BUILD rules. package(default_visibility = ["//visibility:public"]) - -exports_files(["tsconfig.json"]) - -load("@build_bazel_rules_nodejs//:defs.bzl", "node_modules_filegroup") - -alias( - name = "install", - actual = "@yarn//:yarn", -) - -node_modules_filegroup( - name = "node_modules", - packages = [ - "bytebuffer", - "express", - "hapi", - "jasmine", - "protobufjs", - "rxjs", - "tsickle", - "tslib", - "tsutils", - "typescript", - "zone.js", - "@angular", - "@angular-devkit", - "@schematics", - "@types", - ], -) diff --git a/WORKSPACE b/WORKSPACE index 3ffb8e82671a..67ebf9647b20 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,71 +1,132 @@ workspace(name = "nguniversal") + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# Add NodeJS rules (explicitly used for sass bundle rules) http_archive( name = "build_bazel_rules_nodejs", - # TODO: upgrade once https://github.com/bazelbuild/rules_nodejs/issues/218#issuecomment-395826361 is released - url = "https://github.com/bazelbuild/rules_nodejs/archive/0.8.0.zip", - strip_prefix = "rules_nodejs-0.8.0", + strip_prefix = "rules_nodejs-c40ceb960af4213164d4299d8fbc8220ebdd727f", + # TODO(CaerusKaru): temporarily depend on a specific commit because we want to make sure that + # our CI is not flaky until there is a new version of the NodeJS rules. See commit: + # https://github.com/bazelbuild/rules_nodejs/commit/c40ceb960af4213164d4299d8fbc8220ebdd727f + url = "https://github.com/bazelbuild/rules_nodejs/archive/c40ceb960af4213164d4299d8fbc8220ebdd727f.zip", ) +# Add TypeScript rules http_archive( - name = "io_bazel_rules_webtesting", - url = "https://github.com/bazelbuild/rules_webtesting/archive/v0.2.0.zip", - strip_prefix = "rules_webtesting-0.2.0", - sha256 = "cecc12f07e95740750a40d38e8b14b76fefa1551bef9332cb432d564d693723c", + name = "build_bazel_rules_typescript", + strip_prefix = "rules_typescript-0.22.0", + url = "https://github.com/bazelbuild/rules_typescript/archive/0.22.0.zip", ) +# Add Angular source and Bazel rules. http_archive( - name = "build_bazel_rules_typescript", - url = "https://github.com/bazelbuild/rules_typescript/archive/0.15.0.zip", - strip_prefix = "rules_typescript-0.15.0", - sha256 = "1aa75917330b820cb239b3c10a936a10f0a46fe215063d4492dd76dc6e1616f4", + name = "angular", + strip_prefix = "angular-7.1.3", + url = "https://github.com/angular/angular/archive/7.1.3.zip", ) +# Add RxJS as repository because those are needed in order to build Angular from source. +# Also we cannot refer to the RxJS version from the node modules because self-managed +# node modules are not guaranteed to be installed. +# TODO(gmagolan): remove this once rxjs ships with an named UMD bundle and we +# are no longer building it from source. http_archive( - name = "io_bazel_rules_go", - url = "https://github.com/bazelbuild/rules_go/releases/download/0.10.3/rules_go-0.10.3.tar.gz", - sha256 = "feba3278c13cde8d67e341a837f69a029f698d7a27ddbb2a202be7a10b22142a", + name = "rxjs", + sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403", + strip_prefix = "package/src", + url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz", ) -# This commit matches the version of buildifier in angular/ngcontainer -# If you change this, also check if it matches the version in the angular/ngcontainer -# version in /.circleci/config.yml -BAZEL_BUILDTOOLS_VERSION = "fd9878fd5de921e0bbab3dcdcb932c2627812ee1" - -http_archive( - name = "com_github_bazelbuild_buildtools", - url = "https://github.com/bazelbuild/buildtools/archive/%s.zip" % BAZEL_BUILDTOOLS_VERSION, - strip_prefix = "buildtools-%s" % BAZEL_BUILDTOOLS_VERSION, - sha256 = "27bb461ade23fd44ba98723ad98f84ee9c83cd3540b773b186a1bc5037f3d862", +# We need to create a local repository called "npm" because currently Angular Universal +# stores all of it's NPM dependencies in the "@ngudeps" repository. This is necessary because +# we don't want to reserve the "npm" repository that is commonly used by downstream projects. +# Since we still need the "npm" repository in order to use the Angular or TypeScript Bazel +# rules, we create a local repository that is just defined in **this** workspace and is not +# being shipped to downstream projects. This can be removed once downstream projects can +# consume Angular Universal completely from NPM. +# TODO(CaerusKaru): remove once Angular Universal can be consumed from NPM with Bazel. +local_repository( + name = "npm", + path = "tools/npm-workspace", ) -# Fetching the Bazel source code allows us to compile the Skylark linter +# Add sass rules http_archive( - name = "io_bazel", - url = "https://github.com/bazelbuild/bazel/archive/968f87900dce45a7af749a965b72dbac51b176b3.zip", - strip_prefix = "bazel-968f87900dce45a7af749a965b72dbac51b176b3", - sha256 = "e373d2ae24955c1254c495c9c421c009d88966565c35e4e8444c082cb1f0f48f", + name = "io_bazel_rules_sass", + strip_prefix = "rules_sass-1.15.2", + url = "https://github.com/bazelbuild/rules_sass/archive/1.15.2.zip", ) -local_repository( - name = "angular", - path = "node_modules/@angular/bazel", -) +# Since we are explitly fetching @build_bazel_rules_typescript, we should explicitly ask for +# its transitive dependencies in case those haven't been fetched yet. +load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies") -local_repository( - name = "rxjs", - path = "node_modules/rxjs/src", -) +rules_typescript_dependencies() + +# Since we are explitly fetching @build_bazel_rules_nodejs, we should explicitly ask for +# its transitive dependencies in case those haven't been fetched yet. +load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies") + +rules_nodejs_dependencies() + +# Fetch transitive dependencies which are needed by the Angular build targets. +load("@angular//packages/bazel:package.bzl", "rules_angular_dependencies") -load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install") +rules_angular_dependencies() -check_bazel_version("0.13.0") -node_repositories(package_json = ["//:package.json"]) +# Fetch transitive dependencies which are needed to use the Sass rules. +load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") +rules_sass_dependencies() +load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories") + +check_bazel_version(minimum_bazel_version = "0.18.0") + +node_repositories( + node_version = "10.10.0", + package_json = ["//:package.json"], + preserve_symlinks = True, + yarn_version = "1.12.1", +) + +# Setup TypeScript Bazel workspace load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace") + ts_setup_workspace() +# Setup the Sass rule repositories. +load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") + +sass_repositories() + +# Setup Angular workspace for building (Bazel managed node modules) +load("@angular//:index.bzl", "ng_setup_workspace") + +ng_setup_workspace() + +load("@nguniversal//:index.bzl", "nguniversal_setup_workspace") + +nguniversal_setup_workspace() + +# Setup Go toolchain (required for Bazel web testing rules) +load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies") -load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() + go_register_toolchains() + +# Setup web testing. We need to setup a browser because the web testing rules for TypeScript need +# a reference to a registered browser (ideally that's a hermetic version of a browser) +load( + "@io_bazel_rules_webtesting//web:repositories.bzl", + "browser_repositories", + "web_test_repositories", +) + +web_test_repositories() + +browser_repositories( + chromium = True, +) diff --git a/index.bzl b/index.bzl new file mode 100644 index 000000000000..addccfee3671 --- /dev/null +++ b/index.bzl @@ -0,0 +1,15 @@ +# Copyright Google LLC All Rights Reserved. +# +# Use of this source code is governed by an MIT-style license that can be +# found in the LICENSE file at https://angular.io/license +"""Public API surface is re-exported here. +This API is exported for users building Angular Universal from source in +downstream projects. +""" + +load( + "//tools:nguniversal_setup_workspace.bzl", + _nguniversal_setup_workspace = "nguniversal_setup_workspace", +) + +nguniversal_setup_workspace = _nguniversal_setup_workspace diff --git a/integration/common/package.json b/integration/common/package.json index 0d677c9400bc..23ccffc84afe 100644 --- a/integration/common/package.json +++ b/integration/common/package.json @@ -8,15 +8,15 @@ "url": "https://github.com/angular/angular.git" }, "dependencies": { - "@angular/animations": "file:../../node_modules/@angular/animations", - "@angular/common": "file:../../node_modules/@angular/common", + "@angular/animations": "^7.1.4", + "@angular/common": "^7.1.4", "@angular/compiler": "file:../../node_modules/@angular/compiler", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@angular/core": "file:../../node_modules/@angular/core", - "@angular/http": "file:../../node_modules/@angular/http", - "@angular/platform-browser": "file:../../node_modules/@angular/platform-browser", - "@angular/platform-browser-dynamic": "file:../../node_modules/@angular/platform-browser-dynamic", - "@angular/platform-server": "file:../../node_modules/@angular/platform-server", + "@angular/http": "^7.1.4", + "@angular/platform-browser": "^7.1.4", + "@angular/platform-browser-dynamic": "^7.1.4", + "@angular/platform-server": "^7.1.4", "@nguniversal/common": "file:../../dist/modules-dist/common", "@nguniversal/express-engine": "file:../../dist/modules-dist/express-engine", "express": "file:../../node_modules/express", diff --git a/integration/express-engine/package.json b/integration/express-engine/package.json index 9dd3566dd981..a66b43d85c94 100644 --- a/integration/express-engine/package.json +++ b/integration/express-engine/package.json @@ -8,15 +8,15 @@ "url": "https://github.com/angular/angular.git" }, "dependencies": { - "@angular/animations": "file:../../node_modules/@angular/animations", - "@angular/common": "file:../../node_modules/@angular/common", + "@angular/animations": "^7.1.4", + "@angular/common": "^7.1.4", "@angular/compiler": "file:../../node_modules/@angular/compiler", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@angular/core": "file:../../node_modules/@angular/core", - "@angular/http": "file:../../node_modules/@angular/http", - "@angular/platform-browser": "file:../../node_modules/@angular/platform-browser", - "@angular/platform-browser-dynamic": "file:../../node_modules/@angular/platform-browser-dynamic", - "@angular/platform-server": "file:../../node_modules/@angular/platform-server", + "@angular/http": "^7.1.4", + "@angular/platform-browser": "^7.1.4", + "@angular/platform-browser-dynamic": "^7.1.4", + "@angular/platform-server": "^7.1.4", "@nguniversal/express-engine": "file:../../dist/modules-dist/express-engine", "express": "file:../../node_modules/express", "rxjs": "file:../../node_modules/rxjs", diff --git a/integration/hapi-engine/package.json b/integration/hapi-engine/package.json index a53f7859b1b6..f3cfd3c063e2 100644 --- a/integration/hapi-engine/package.json +++ b/integration/hapi-engine/package.json @@ -8,15 +8,15 @@ "url": "https://github.com/angular/angular.git" }, "dependencies": { - "@angular/animations": "file:../../node_modules/@angular/animations", - "@angular/common": "file:../../node_modules/@angular/common", + "@angular/animations": "^7.1.4", + "@angular/common": "^7.1.4", "@angular/compiler": "file:../../node_modules/@angular/compiler", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@angular/core": "file:../../node_modules/@angular/core", - "@angular/http": "file:../../node_modules/@angular/http", - "@angular/platform-browser": "file:../../node_modules/@angular/platform-browser", - "@angular/platform-browser-dynamic": "file:../../node_modules/@angular/platform-browser-dynamic", - "@angular/platform-server": "file:../../node_modules/@angular/platform-server", + "@angular/http": "^7.1.4", + "@angular/platform-browser": "^7.1.4", + "@angular/platform-browser-dynamic": "^7.1.4", + "@angular/platform-server": "^7.1.4", "@nguniversal/hapi-engine": "file:../../dist/modules-dist/hapi-engine", "hapi": "file:../../node_modules/hapi", "rxjs": "file:../../node_modules/rxjs", diff --git a/integration/module-map-ngfactory-loader/package.json b/integration/module-map-ngfactory-loader/package.json index 385a8d4d6801..8c4377f57daa 100644 --- a/integration/module-map-ngfactory-loader/package.json +++ b/integration/module-map-ngfactory-loader/package.json @@ -8,16 +8,16 @@ "url": "https://github.com/angular/angular.git" }, "dependencies": { - "@angular/animations": "file:../../node_modules/@angular/animations", - "@angular/common": "file:../../node_modules/@angular/common", + "@angular/animations": "^7.1.4", + "@angular/common": "^7.1.4", "@angular/compiler": "file:../../node_modules/@angular/compiler", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@angular/core": "file:../../node_modules/@angular/core", - "@angular/http": "file:../../node_modules/@angular/http", - "@angular/platform-browser": "file:../../node_modules/@angular/platform-browser", - "@angular/platform-browser-dynamic": "file:../../node_modules/@angular/platform-browser-dynamic", - "@angular/platform-server": "file:../../node_modules/@angular/platform-server", - "@angular/router": "file:../../node_modules/@angular/router", + "@angular/http": "^7.1.4", + "@angular/platform-browser": "^7.1.4", + "@angular/platform-browser-dynamic": "^7.1.4", + "@angular/platform-server": "^7.1.4", + "@angular/router": "^7.1.4", "@nguniversal/express-engine": "file:../../dist/modules-dist/express-engine", "@nguniversal/module-map-ngfactory-loader": "file:../../dist/modules-dist/module-map-ngfactory-loader", "express": "file:../../node_modules/express", diff --git a/integration/run_tests.sh b/integration/run_tests.sh index 47ab4aad2699..4ce732ba0878 100755 --- a/integration/run_tests.sh +++ b/integration/run_tests.sh @@ -11,17 +11,7 @@ cd "$(dirname "$0")" readonly basedir=$(pwd)/.. # Track payload size functions -if $CI; then - # We don't install this by default because it contains some broken Bazel setup - # and also it's a very big dependency that we never use except when publishing - # payload sizes on CI. - echo "" - # yarn add --silent -D [email protected] - # source ${basedir}/scripts/ci/payload-size.sh - - # NB: we don't run build-modules-dist.sh because we expect that it was done - # by an earlier job in the CircleCI workflow. -else +if [$CI != true]; then # Not on CircleCI so let's build the packages-dist directory. # This should be fast on incremental re-build. ${basedir}/scripts/build-modules-dist.sh @@ -48,11 +38,8 @@ for testDir in $(ls | grep -v node_modules) ; do yarn install --cache-folder ../$cache yarn test || exit 1 + # remove the temporary node modules directory to keep the source folder clean. rm -rf node_modules ) done - -#if $CI; then -# trackPayloadSize "umd" "../dist/packages-dist/*/bundles/*.umd.min.js" false false -#fi diff --git a/modules/BUILD.bazel b/modules/BUILD.bazel new file mode 100644 index 000000000000..50727d9b79de --- /dev/null +++ b/modules/BUILD.bazel @@ -0,0 +1,13 @@ +load("@build_bazel_rules_typescript//:defs.bzl", "ts_config") + +package(default_visibility = ["//visibility:public"]) + +exports_files([ + "bazel-tsconfig-build.json", +]) + +ts_config( + name = "bazel-tsconfig-test", + src = "bazel-tsconfig-test.json", + deps = ["bazel-tsconfig-build.json"], +) diff --git a/modules/aspnetcore-engine/BUILD.bazel b/modules/aspnetcore-engine/BUILD.bazel index 08a591c32d83..6189aabba6d9 100644 --- a/modules/aspnetcore-engine/BUILD.bazel +++ b/modules/aspnetcore-engine/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) ng_module( name = "aspnetcore-engine", @@ -12,7 +11,11 @@ ng_module( module_name = "@nguniversal/aspnetcore-engine", deps = [ "//modules/aspnetcore-engine/tokens", - "@rxjs", + "@angular//packages/common", + "@angular//packages/compiler", + "@angular//packages/platform-browser", + "@angular//packages/platform-server", + "@rxjs//operators", ], ) @@ -30,9 +33,8 @@ ng_package( ], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), diff --git a/modules/aspnetcore-engine/src/main.ts b/modules/aspnetcore-engine/src/main.ts index 05a63e712aa7..f10a2678ad0d 100644 --- a/modules/aspnetcore-engine/src/main.ts +++ b/modules/aspnetcore-engine/src/main.ts @@ -37,8 +37,8 @@ function _getUniversalData(doc: Document): UniversalData { const META: string[] = []; const LINKS: string[] = []; - for (let i = 0; i < doc.head.children.length; i++) { - const element = doc.head.children[i]; + for (let i = 0; i < doc.head!.children.length; i++) { + const element = doc.head!.children[i]; const tagName = element.tagName.toUpperCase(); switch (tagName) { diff --git a/modules/aspnetcore-engine/tokens/BUILD.bazel b/modules/aspnetcore-engine/tokens/BUILD.bazel index 433054969108..1421d11bdc51 100644 --- a/modules/aspnetcore-engine/tokens/BUILD.bazel +++ b/modules/aspnetcore-engine/tokens/BUILD.bazel @@ -1,11 +1,14 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "ng_module") +package(default_visibility = ["//visibility:public"]) + ng_module( name = "tokens", srcs = glob([ "*.ts", ]), module_name = "@nguniversal/aspnetcore-engine/tokens", + deps = [ + "@angular//packages/core", + ], ) diff --git a/modules/bazel-tsconfig-build.json b/modules/bazel-tsconfig-build.json new file mode 100644 index 000000000000..cdc3171de68d --- /dev/null +++ b/modules/bazel-tsconfig-build.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "declaration": true, + "stripInternal": false, + "experimentalDecorators": true, + "noUnusedParameters": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "importHelpers": true, + "newLine": "lf", + "module": "es2015", + "moduleResolution": "node", + "sourceMap": true, + "inlineSources": true, + "target": "es2015", + "lib": ["es2015", "dom"], + "skipLibCheck": true, + "types": ["tslib", "node"] + }, + "bazelOptions": { + "suppressTsconfigOverrideWarnings": true + } +} \ No newline at end of file diff --git a/modules/bazel-tsconfig-test.json b/modules/bazel-tsconfig-test.json new file mode 100644 index 000000000000..4875351ee07b --- /dev/null +++ b/modules/bazel-tsconfig-test.json @@ -0,0 +1,7 @@ +{ + "extends": "./bazel-tsconfig-build.json", + "compilerOptions": { + "importHelpers": false, + "types": ["jasmine", "node"] + } +} \ No newline at end of file diff --git a/modules/common/BUILD.bazel b/modules/common/BUILD.bazel index 595a55bcf2e9..ffebc2870cbb 100644 --- a/modules/common/BUILD.bazel +++ b/modules/common/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) ng_module( name = "common", @@ -13,6 +12,12 @@ ng_module( deps = [ "//modules/common/engine", "//modules/common/tokens", + "@angular//packages/common", + "@angular//packages/common/http", + "@angular//packages/core", + "@angular//packages/platform-browser", + "@rxjs", + "@rxjs//operators", ], ) @@ -29,14 +34,15 @@ ng_package( ], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), deps = [ ":common", + "@angular//packages/common/http", + "@rxjs", ], ) diff --git a/modules/common/engine/BUILD.bazel b/modules/common/engine/BUILD.bazel index 48daab5d7223..8772764930e1 100644 --- a/modules/common/engine/BUILD.bazel +++ b/modules/common/engine/BUILD.bazel @@ -1,7 +1,7 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "ng_module") +package(default_visibility = ["//visibility:public"]) + ng_module( name = "engine", srcs = glob([ @@ -9,4 +9,9 @@ ng_module( "*.ts", ]), module_name = "@nguniversal/common/engine", + deps = [ + "@angular//packages/compiler", + "@angular//packages/core", + "@angular//packages/platform-server", + ], ) diff --git a/modules/common/tokens/BUILD.bazel b/modules/common/tokens/BUILD.bazel index 1fbb96554518..8ea8abe671e3 100644 --- a/modules/common/tokens/BUILD.bazel +++ b/modules/common/tokens/BUILD.bazel @@ -1,7 +1,7 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "ng_module") +package(default_visibility = ["//visibility:public"]) + ng_module( name = "tokens", srcs = glob([ @@ -9,4 +9,7 @@ ng_module( "*.ts", ]), module_name = "@nguniversal/common/tokens", + deps = [ + "@angular//packages/core", + ], ) diff --git a/modules/express-engine/BUILD.bazel b/modules/express-engine/BUILD.bazel index 66b02ea6d00e..60166940acd0 100644 --- a/modules/express-engine/BUILD.bazel +++ b/modules/express-engine/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) ng_module( name = "express-engine", @@ -12,6 +11,10 @@ ng_module( module_name = "@nguniversal/express-engine", deps = [ "//modules/express-engine/tokens", + "@angular//packages/compiler", + "@angular//packages/core", + "@angular//packages/platform-server", + "@ngudeps//@types/express", ], ) @@ -30,15 +33,20 @@ ng_package( ], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), deps = [ ":express-engine", "//modules/express-engine/tokens", + "@angular//packages/compiler", + "@angular//packages/platform-browser", + "@angular//packages/platform-server", + "@ngudeps//domino", + "@ngudeps//xhr2", + "@ngudeps//zone.js", ], ) diff --git a/modules/express-engine/schematics/BUILD.bazel b/modules/express-engine/schematics/BUILD.bazel index 77979b928a43..5a285875d772 100644 --- a/modules/express-engine/schematics/BUILD.bazel +++ b/modules/express-engine/schematics/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_test_library", "npm_package", "ts_library") -load("//tools:defaults.bzl", "ts_library", "npm_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) filegroup( name = "schematics_assets", @@ -25,6 +24,11 @@ ts_library( ), module_name = "@nguniversal/express-engine/schematics", tsconfig = ":tsconfig.json", + deps = [ + "@ngudeps//@angular-devkit/schematics", + "@ngudeps//@schematics/angular", + "@ngudeps//@types/jasmine", + ], ) # This package is intended to be combined into the main @nguniversal/express-engine package as a dep. @@ -42,16 +46,16 @@ jasmine_node_test( data = [":schematics_assets"], ) -ts_library( +ng_test_library( name = "schematics_test_sources", - testonly = True, srcs = glob( - [ - "**/*.spec.ts", - "test-setup/**/*.ts", - ], + ["**/*.spec.ts"], exclude = ["**/files/**/*"], ), tsconfig = ":tsconfig.json", - deps = [":schematics"], + deps = [ + ":schematics", + "@ngudeps//@angular-devkit/schematics", + "@ngudeps//@schematics/angular", + ], ) diff --git a/modules/express-engine/schematics/install/index.spec.ts b/modules/express-engine/schematics/install/index.spec.ts index a3fc412e4325..bd6c4c803acd 100644 --- a/modules/express-engine/schematics/install/index.spec.ts +++ b/modules/express-engine/schematics/install/index.spec.ts @@ -7,7 +7,7 @@ */ import {SchematicTestRunner} from '@angular-devkit/schematics/testing'; import {Schema as UniversalOptions} from './schema'; -import {collectionPath, createTestApp} from '../test-setup/test-app'; +import {collectionPath, createTestApp} from '../testing/test-app'; import {Tree} from '@angular-devkit/schematics'; describe('Universal Schematic', () => { diff --git a/modules/express-engine/schematics/install/index.ts b/modules/express-engine/schematics/install/index.ts index 0665b06f09fc..08e2c8985258 100644 --- a/modules/express-engine/schematics/install/index.ts +++ b/modules/express-engine/schematics/install/index.ts @@ -5,7 +5,7 @@ * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ -import {experimental, JsonObject, strings} from '@angular-devkit/core'; +import {experimental, strings} from '@angular-devkit/core'; import { apply, chain, @@ -27,6 +27,7 @@ import { addPackageJsonDependency, NodeDependencyType, } from '@schematics/angular/utility/dependencies'; +import {BrowserBuilderOptions} from '@schematics/angular/utility/workspace-models'; // TODO(CaerusKaru): make these configurable const BROWSER_DIST = 'dist/browser'; @@ -110,7 +111,14 @@ function updateConfigFile(options: UniversalOptions): Rule { throw new Error('Client project architect not found.'); } - const serverConfig: JsonObject = { + // We have to check if the project config has a server target, because + // if the Universal step in this schematic isn't run, it can't be guaranteed + // to exist + if (!clientProject.architect.server) { + return; + } + + clientProject.architect.server.configurations = { production: { fileReplacements: [ { @@ -120,19 +128,10 @@ function updateConfigFile(options: UniversalOptions): Rule { ] } }; - - // We have to check if the project config has a server target, because - // if the Universal step in this schematic isn't run, it can't be guaranteed - // to exist - if (!clientProject.architect.server) { - return; - } - - clientProject.architect.server.configurations = serverConfig; // TODO(CaerusKaru): make this configurable clientProject.architect.server.options.outputPath = SERVER_DIST; // TODO(CaerusKaru): make this configurable - clientProject.architect.build.options.outputPath = BROWSER_DIST; + (clientProject.architect.build.options as BrowserBuilderOptions).outputPath = BROWSER_DIST; const workspacePath = getWorkspacePath(host); diff --git a/modules/express-engine/schematics/test-setup/bazel-test-init.ts b/modules/express-engine/schematics/test-setup/bazel-test-init.ts deleted file mode 100644 index 6b06ed23bbaa..000000000000 --- a/modules/express-engine/schematics/test-setup/bazel-test-init.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/* - * NOTE: This file will run before the actual tests start inside of Bazel. - * - * It automatically runs before all spec files because the spec files are blocked - * until Jasmine runs the `describe` blocks. - * - * We copy all needed files into the proper Bazel bin output in order to be able to test - * the schematics. Workaround for: https://github.com/bazelbuild/rules_typescript/issues/154 - */ - -import {sync as globSync} from 'glob'; -import {dirname, join} from 'path'; -import {copySync} from 'fs-extra'; - -// Adding the test case files to the data of the `jasmine_node_test` Bazel rule does not mean -// that the files are being copied over to the Bazel bin output. Bazel just patches the NodeJS -// resolve function and maps the module paths to the original file location. Since we want to copy -// the files to the bazel test directory because TSLint and the schematic test runner expect a real -// file system, we need to resolve the original file path through a Bazel mapped file. -const sourceDirectory = dirname( - require.resolve('nguniversal/modules/express-engine/schematics/collection.json')); - -const bazelBinDir = join(__dirname, '../'); - -// Copy all schema files to the bazel bin directory. -globSync('**/schema.json', {cwd: sourceDirectory}) - .forEach(file => copySync(join(sourceDirectory, file), join(bazelBinDir, file))); - -// Copy all template files to the bazel bin directory. -globSync('**/files/**/*', {cwd: sourceDirectory}) - .forEach(file => copySync(join(sourceDirectory, file), join(bazelBinDir, file))); - -// Copy the collection.json file to the bazel bin directory. -globSync('collection.json', {cwd: sourceDirectory}) - .forEach(file => copySync(join(sourceDirectory, file), join(bazelBinDir, file))); diff --git a/modules/express-engine/schematics/test-setup/test-app.ts b/modules/express-engine/schematics/testing/test-app.ts similarity index 100% rename from modules/express-engine/schematics/test-setup/test-app.ts rename to modules/express-engine/schematics/testing/test-app.ts diff --git a/modules/express-engine/schematics/tsconfig.json b/modules/express-engine/schematics/tsconfig.json index 21c18cd9da30..5b40801e6c3c 100644 --- a/modules/express-engine/schematics/tsconfig.json +++ b/modules/express-engine/schematics/tsconfig.json @@ -17,5 +17,8 @@ "exclude": [ "**/*.spec.ts", "*/files/**/*" - ] + ], + "bazelOptions": { + "suppressTsconfigOverrideWarnings": true + } } diff --git a/modules/express-engine/spec/index.spec.ts b/modules/express-engine/spec/index.spec.ts index 98e37feb46fc..17ee66708821 100644 --- a/modules/express-engine/spec/index.spec.ts +++ b/modules/express-engine/spec/index.spec.ts @@ -33,7 +33,8 @@ export function makeTestingModule(template: string, component?: any): any { return MockServerModule; } -describe('test runner', () => { +// tslint:disable +xdescribe('test runner', () => { it('should render a basic template', (done) => { const template = `some template: ${new Date()}`; const appModule = makeTestingModule(template); diff --git a/modules/express-engine/tokens/BUILD.bazel b/modules/express-engine/tokens/BUILD.bazel index 579637cab269..06d225397ca2 100644 --- a/modules/express-engine/tokens/BUILD.bazel +++ b/modules/express-engine/tokens/BUILD.bazel @@ -1,6 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "ng_module") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") +package(default_visibility = ["//visibility:public"]) exports_files(["package.json"]) @@ -10,4 +10,8 @@ ng_module( "*.ts", ]), module_name = "@nguniversal/express-engine/tokens", + deps = [ + "@angular//packages/core", + "@ngudeps//@types/express", + ], ) diff --git a/modules/hapi-engine/BUILD.bazel b/modules/hapi-engine/BUILD.bazel index 128f010e8b57..5268c42fb0e0 100644 --- a/modules/hapi-engine/BUILD.bazel +++ b/modules/hapi-engine/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) ng_module( name = "hapi-engine", @@ -12,6 +11,8 @@ ng_module( module_name = "@nguniversal/hapi-engine", deps = [ "//modules/hapi-engine/tokens", + "@angular//packages/platform-server", + "@ngudeps//@types/hapi", ], ) @@ -29,14 +30,20 @@ ng_package( ], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), deps = [ ":hapi-engine", + "@angular//packages/platform-browser", + "@angular//packages/platform-server", + "@ngudeps//@types/hapi", + "@ngudeps//domino", + "@ngudeps//hapi", + "@ngudeps//xhr2", + "@ngudeps//zone.js", ], ) diff --git a/modules/hapi-engine/spec/index.spec.ts b/modules/hapi-engine/spec/index.spec.ts index 5f479f994476..2914e8ceaf10 100644 --- a/modules/hapi-engine/spec/index.spec.ts +++ b/modules/hapi-engine/spec/index.spec.ts @@ -18,8 +18,8 @@ class MyServerApp { class ExampleModule { } - -describe('test runner', () => { +// tslint:disable +xdescribe('test runner', () => { const server = new Server({ debug: false }); server.route([ diff --git a/modules/hapi-engine/tokens/BUILD.bazel b/modules/hapi-engine/tokens/BUILD.bazel index 08243a40bd59..34b58b9bc0ac 100644 --- a/modules/hapi-engine/tokens/BUILD.bazel +++ b/modules/hapi-engine/tokens/BUILD.bazel @@ -1,11 +1,15 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:defaults.bzl", "ng_module") +package(default_visibility = ["//visibility:public"]) + ng_module( name = "tokens", srcs = glob([ "*.ts", ]), module_name = "@nguniversal/hapi-engine/tokens", + deps = [ + "@angular//packages/core", + "@ngudeps//@types/hapi", + ], ) diff --git a/modules/module-map-ngfactory-loader/BUILD.bazel b/modules/module-map-ngfactory-loader/BUILD.bazel index 3772941b54fc..e93f69150d82 100644 --- a/modules/module-map-ngfactory-loader/BUILD.bazel +++ b/modules/module-map-ngfactory-loader/BUILD.bazel @@ -1,7 +1,6 @@ -package(default_visibility = ["//visibility:public"]) +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") +package(default_visibility = ["//visibility:public"]) ng_module( name = "module-map-ngfactory-loader", @@ -10,7 +9,9 @@ ng_module( "src/**/*.ts", ]), module_name = "@nguniversal/module-map-ngfactory-loader", - deps = [], + deps = [ + "@angular//packages/core", + ], ) ng_package( @@ -22,9 +23,8 @@ ng_package( deps = [":module-map-ngfactory-loader"], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), diff --git a/modules/socket-engine/BUILD.bazel b/modules/socket-engine/BUILD.bazel index 64cae1fcdd36..08ceccb90198 100644 --- a/modules/socket-engine/BUILD.bazel +++ b/modules/socket-engine/BUILD.bazel @@ -1,9 +1,7 @@ -load("//tools:defaults.bzl", "ts_library", "ng_module", "ng_package") +load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ng_package", "ng_test_library") package(default_visibility = ["//visibility:public"]) -load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test") - ng_module( name = "socket-engine", srcs = glob([ @@ -12,7 +10,8 @@ ng_module( ]), module_name = "@nguniversal/socket-engine", deps = [ - "//modules/common", + "//modules/common/engine", + "@angular//packages/core", ], ) @@ -26,18 +25,21 @@ ng_package( tags = ["release"], deps = [ ":socket-engine", - "//modules/common", ], ) -ts_library( +ng_test_library( name = "unit_test_lib", - testonly = True, srcs = glob([ "spec/**/*.spec.ts", ]), deps = [ ":socket-engine", + "@angular//packages/platform-browser", + "@angular//packages/platform-server", + "@ngudeps//domino", + "@ngudeps//xhr2", + "@ngudeps//zone.js", ], ) diff --git a/modules/socket-engine/spec/index.spec.ts b/modules/socket-engine/spec/index.spec.ts index f8d067b51771..f5c95f218234 100644 --- a/modules/socket-engine/spec/index.spec.ts +++ b/modules/socket-engine/spec/index.spec.ts @@ -1,4 +1,3 @@ - import { ServerModule } from '@angular/platform-server'; import { NgModule, Component, Inject, InjectionToken } from '@angular/core'; import 'zone.js'; @@ -33,7 +32,7 @@ async function sendAndRecieve(renderOptions: SocketEngineRenderOptions, template client.write(JSON.stringify(renderOptions)); }); - client.on('data', data => { + client.on('data', (data: Buffer) => { const res = JSON.parse(data.toString()) as SocketEngineResponse; server.close(); resolve(res); @@ -41,7 +40,8 @@ async function sendAndRecieve(renderOptions: SocketEngineRenderOptions, template }); } -describe('test runner', () => { +// tslint:disable +xdescribe('test runner', () => { it('should render a basic template', async (done) => { const template = `${new Date()}`; const renderOptions = {id: 1, url: '/path', @@ -73,7 +73,7 @@ describe('test runner', () => { client.write(JSON.stringify(renderOptions)); }); - client.on('data', data => { + client.on('data', (data: Buffer) => { const res = JSON.parse(data.toString()) as SocketEngineResponse; server.close(); expect(res.error).not.toBeNull(); @@ -105,7 +105,7 @@ describe('test runner', () => { client.write(JSON.stringify(renderOptions)); }); - client.on('data', data => { + client.on('data', (data: Buffer) => { const res = JSON.parse(data.toString()) as SocketEngineResponse; server.close(); expect(res.html).toContain(someValue.message); diff --git a/package.json b/package.json index acd4ee36800f..cc35469f020e 100644 --- a/package.json +++ b/package.json @@ -63,37 +63,35 @@ "upver:beta": "standard-version --prerelease beta", "upver:rc": "standard-version --prerelease rc", "upver:push": "standard-version", - "postinstall": "ngc -p angular.tsconfig.json", "prebuildifier": "bazel build --noshow_progress @com_github_bazelbuild_buildtools//buildifier", - "buildifier": "find . -type f \\( -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs $(bazel info bazel-bin)/external/com_github_bazelbuild_buildtools/buildifier/*/buildifier", + "bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name BUILD -or -name BUILD.bazel -or -name WORKSPACE \\) ! -path \"*/node_modules/*\" | xargs buildifier -v", + "bazel:lint": "yarn bazel:format --lint=warn", + "bazel:lint-fix": "yarn bazel:format --lint=fix", "bazel:build": "bazel build //...", "test": "bazel test //...", "build:watch": "ibazel build //...", - "test:watch": "ibazel test //..." + "test:watch": "ibazel test //...", + "preinstall": "node ./tools/npm/check-npm.js", + "bazel": "bazel" }, "devDependencies": { - "@angular-devkit/core": "^0.7.5", - "@angular-devkit/schematics": "^0.7.5", - "@angular/animations": "6.0.4", - "@angular/bazel": "6.0.4", - "@angular/common": "6.0.4", - "@angular/compiler": "6.0.4", - "@angular/compiler-cli": "6.0.4", - "@angular/core": "6.0.4", - "@angular/http": "6.0.4", - "@angular/platform-browser": "6.0.4", - "@angular/platform-browser-dynamic": "6.0.4", - "@angular/platform-server": "6.0.4", - "@angular/router": "6.0.4", - "@angular/upgrade": "6.0.4", - "@bazel/ibazel": "^0.3.1", - "@schematics/angular": "^0.7.5", + "@angular/bazel": "^7.1.4", + "@angular/compiler": "^7.1.4", + "@angular/compiler-cli": "^7.1.4", + "@angular/core": "^7.1.4", + "@bazel/bazel": "^0.20.0", + "@bazel/buildifier": "^0.20.0", + "@bazel/ibazel": "0.9.0", + "@bazel/karma": "0.22.0", + "@bazel/typescript": "0.22.0", + "@schematics/angular": "^7.1.0", "@types/express": "^4.0.39", "@types/fs-extra": "^4.0.5", "@types/hapi": "^17.0.12", "@types/jasmine": "^2.8.6", "@types/node": "^9.4.6", "camelcase": "^4.1.0", + "domino": "^2.1.1", "express": "^4.15.2", "fs-extra": "^3.0.1", "glob": "^7.1.2", @@ -103,7 +101,7 @@ "karma-chrome-launcher": "^2.2.0", "karma-jasmine": "^1.1.1", "karma-sourcemap-loader": "^0.3.7", - "karma-typescript": "^3.0.12", + "karma-typescript": "^3.0.13", "minimatch": "^3.0.4", "protractor": "^5.2.0", "replace-in-file": "^3.1.1", @@ -114,16 +112,19 @@ "rollup-plugin-node-resolve": "^3.0.2", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-uglify": "^2.0.1", - "rxjs": "^6.2.0", + "rxjs": "^6.3.3", "sorcery": "^0.10.0", + "source-map-support": "^0.5.9", "standard-version": "^4.3.0", "systemjs": "0.19.43", "ts-node": "^3.0.4", "tsconfig-paths": "^2.3.0", + "tslib": "1.9.3", "tslint": "^5.9.1", "tsutils": "^2.21.2", - "typescript": "~2.7.2", + "typescript": "~3.1.3", "uglify-js": "^2.8.14", + "xhr2": "^0.1.4", "zone.js": "^0.8.26" }, "dependencies": { diff --git a/scripts/build-modules-dist.sh b/scripts/build-modules-dist.sh index d76059fcfdaf..2804d59c2587 100755 --- a/scripts/build-modules-dist.sh +++ b/scripts/build-modules-dist.sh @@ -12,30 +12,45 @@ cd "$(dirname "$0")" # basedir is the workspace root readonly basedir=$(pwd)/.. +# We need to resolve the Bazel binary in the node modules because running Bazel +# through `yarn bazel` causes additional output that throws off command stdout. +readonly bazelBin=$(yarn bin)/bazel +readonly bin=$(${bazelBin} info bazel-bin) + +function buildTargetPackages() { + targets="$1" + destPath="$2" + desc="$3" + + echo "##################################" + echo "scripts/build-modules-dist.sh:" + echo " building @nguniversal/* npm packages" + echo " mode: ${desc}" + echo "##################################" + + # Use --config=release so that snapshot builds get published with embedded version info + echo "$targets" | xargs ${bazelBin} build + + [ -d "${basedir}/${destPath}" ] || mkdir -p $basedir/${destPath} + + dirs=`echo "$targets" | sed -e 's/\/\/modules\/\(.*\):npm_package/\1/'` + + for pkg in $dirs; do + # Skip any that don't have an "npm_package" target + srcDir="${bin}/modules/${pkg}/npm_package" + destDir="${basedir}/${destPath}/${pkg}" + if [ -d $srcDir ]; then + echo "# Copy artifacts to ${destDir}" + rm -rf $destDir + cp -R $srcDir $destDir + chmod -R u+w $destDir + fi + done +} -echo "##################################" -echo "scripts/build-modules-dist.sh:" -echo " building @nguniversal/* npm packages" -echo "##################################" # Ideally these integration tests should run under bazel, and just list the npm # packages in their deps[]. # Until then, we have to manually run bazel first to create the npm packages we # want to test. -bazel query --output=label 'kind(.*_package, //modules/...)' \ - | xargs bazel build -readonly bin=$(bazel info bazel-bin) - -# Create the legacy dist/modules-dist folder -[ -d "${basedir}/dist/modules-dist" ] || mkdir -p $basedir/dist/modules-dist -# Each package is a subdirectory of bazel-bin/modules/ -for pkg in $(ls ${bin}/modules); do - # Skip any that don't have an "npm_package" target - srcDir="${bin}/modules/${pkg}/npm_package" - destDir="${basedir}/dist/modules-dist/${pkg}" - if [ -d $srcDir ]; then - echo "# Copy artifacts to ${destDir}" - rm -rf $destDir - cp -R $srcDir $destDir - chmod -R u+w $destDir - fi -done +BAZEL_TARGETS=`${bazelBin} query --output=label 'attr("tags", "\[.*release\]", //modules/...) intersect kind(".*_package", //modules/...)'` +buildTargetPackages "$BAZEL_TARGETS" "dist/modules-dist" "Production" diff --git a/tools/bazel.rc b/tools/bazel.rc deleted file mode 100644 index d74b7bcfcc31..000000000000 --- a/tools/bazel.rc +++ /dev/null @@ -1,48 +0,0 @@ -############################### -# Typescript / Angular / Sass # -############################### - -# Make compilation fast, by keeping a few copies of the compilers -# running as daemons, and cache SourceFile AST's to reduce parse time. -build --strategy=TypeScriptCompile=worker -build --strategy=AngularTemplateCompile=worker - -# Enable debugging tests with --config=debug -test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results - -############################### -# Filesystem interactions # -############################### - -# Put bazel's symlinks under dist, so results go to dist/bin -# There is still a `bazel-out` symlink created in the project root. -build --symlink_prefix=dist/ - -# Performance: avoid stat'ing input files -build --watchfs - -############################### -# Release support # -############################### - -build --workspace_status_command=./tools/bazel_stamp_vars.sh - -############################### -# Output # -############################### - -# A more useful default output mode for bazel query -# Prints eg. "ng_module rule //foo:bar" rather than just "//foo:bar" -query --output=label_kind - -# Don't print every dependency in :node_modules, for example -query --noimplicit_deps - -# By default, failing tests don't print any output, it goes to the log file -test --test_output=errors - -# Show which actions are run under workers, -# and print all the actions running in parallel. -# Helps to demonstrate that bazel uses all the cores on the machine. -build --experimental_ui -test --experimental_ui diff --git a/tools/bazel_stamp_vars.sh b/tools/bazel_stamp_vars.sh index 2e70a4c1f031..e694cf704886 100755 --- a/tools/bazel_stamp_vars.sh +++ b/tools/bazel_stamp_vars.sh @@ -22,7 +22,7 @@ if [[ "$(git tag)" == "" ]]; then echo "Either fetch the tags:" echo " git fetch [email protected]:angular/angular.git --tags" echo "or build without stamping by giving an empty workspace_status_command:" - echo " bazel build --workspace_status_command= ..." + echo " yarn bazel build --workspace_status_command= ..." echo "" fi diff --git a/tools/defaults.bzl b/tools/defaults.bzl index 7a83b8e0cf21..fe77ad2d0307 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -1,11 +1,35 @@ """Re-export of some bazel rules with repository-wide defaults.""" -load("@build_bazel_rules_typescript//:defs.bzl", _ts_library = "ts_library") -load("@angular//:index.bzl", _ng_module = "ng_module") -load("@angular//:index.bzl", _ng_package = "ng_package") -load("@build_bazel_rules_nodejs//:defs.bzl", _npm_package = "npm_package") -DEFAULT_TS_CONFIG = "//:tsconfig.json" -DEFAULT_NODE_MODULES = "//:node_modules" +load("@angular//:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package") +load("@build_bazel_rules_nodejs//:defs.bzl", _jasmine_node_test = "jasmine_node_test", _npm_package = "npm_package") +load( + "@build_bazel_rules_typescript//:defs.bzl", + _ts_library = "ts_library", + _ts_web_test_suite = "ts_web_test_suite", +) + +DEFAULT_TSCONFIG_BUILD = "//modules:bazel-tsconfig-build.json" +DEFAULT_TSCONFIG_TEST = "//modules:bazel-tsconfig-test" +DEFAULT_TS_TYPINGS = "@ngudeps//typescript:typescript__typings" + +def _getDefaultTsConfig(testonly): + if testonly: + return DEFAULT_TSCONFIG_TEST + else: + return DEFAULT_TSCONFIG_BUILD + +def ts_library(tsconfig = None, deps = [], testonly = False, **kwargs): + local_deps = ["@ngudeps//tslib", "@ngudeps//@types/node"] + deps + if not tsconfig: + tsconfig = _getDefaultTsConfig(testonly) + + _ts_library( + tsconfig = tsconfig, + testonly = testonly, + deps = local_deps, + node_modules = DEFAULT_TS_TYPINGS, + **kwargs + ) NG_VERSION = "^6.0.0" RXJS_VERSION = "^6.0.0" @@ -21,58 +45,90 @@ NGUNIVERSAL_SCOPED_PACKAGES = ["@nguniversal/%s" % p for p in [ ]] PKG_GROUP_REPLACEMENTS = { - "NG_VERSION": NG_VERSION, - "RXJS_VERSION": RXJS_VERSION, - "HAPI_VERSION": HAPI_VERSION, - "EXPRESS_VERSION": EXPRESS_VERSION, "\"NG_UPDATE_PACKAGE_GROUP\"": """[ %s - ]""" % ",\n ".join(["\"%s\"" % s for s in NGUNIVERSAL_SCOPED_PACKAGES]) + ]""" % ",\n ".join(["\"%s\"" % s for s in NGUNIVERSAL_SCOPED_PACKAGES]), + "EXPRESS_VERSION": EXPRESS_VERSION, + "HAPI_VERSION": HAPI_VERSION, + "NG_VERSION": NG_VERSION, + "RXJS_VERSION": RXJS_VERSION, } GLOBALS = { - "@angular/animations": "ng.animations", - "@angular/core": "ng.core", - "@angular/common": "ng.common", - "@angular/common/http": "ng.common.http", - "@angular/compiler": "ng.compiler", - "@angular/http": "ng.http", - "@angular/platform-browser": "ng.platformBrowser", - "@angular/platform-server": "ng.platformServer", - "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic", - "@nguniversal/aspnetcore-engine/tokens": "nguniversal.aspnetcoreEngine.tokens", - "@nguniversal/express-engine/tokens": "nguniversal.expressEngine.tokens", - "@nguniversal/hapi-engine/tokens": "nguniversal.hapiEngine.tokens", - 'tslib': 'tslib', - "rxjs": "rxjs", - "rxjs/operators": "rxjs.operators", - "fs": "fs", - "express": "express", - "hapi": "hapi" - } + "@angular/animations": "ng.animations", + "@angular/common": "ng.common", + "@angular/common/http": "ng.common.http", + "@angular/compiler": "ng.compiler", + "@angular/core": "ng.core", + "@angular/http": "ng.http", + "@angular/platform-browser": "ng.platformBrowser", + "@angular/platform-browser-dynamic": "ng.platformBrowserDynamic", + "@angular/platform-server": "ng.platformServer", + "@nguniversal/aspnetcore-engine/tokens": "nguniversal.aspnetcoreEngine.tokens", + "@nguniversal/express-engine/tokens": "nguniversal.expressEngine.tokens", + "@nguniversal/hapi-engine/tokens": "nguniversal.hapiEngine.tokens", + "express": "express", + "fs": "fs", + "hapi": "hapi", + "rxjs": "rxjs", + "rxjs/operators": "rxjs.operators", + "tslib": "tslib", +} # TODO(Toxicable): when a better api for defaults is avilable use that instead of these macros -def ts_test_library(node_modules=None, **kwargs): - ts_library(testonly=1, **kwargs) - -def ts_library(tsconfig = None, node_modules = None, **kwargs): - if not tsconfig: - tsconfig = DEFAULT_TS_CONFIG - if not node_modules: - node_modules = DEFAULT_NODE_MODULES - _ts_library(tsconfig = tsconfig, **kwargs) - -def ng_module(tsconfig = None, node_modules = None, **kwargs): - if not tsconfig: - tsconfig = DEFAULT_TS_CONFIG - if not node_modules: - node_modules = DEFAULT_NODE_MODULES - _ng_module(tsconfig = tsconfig, **kwargs) +def ts_test_library(deps = [], tsconfig = None, **kwargs): + local_deps = deps + ts_library( + testonly = 1, + deps = local_deps, + **kwargs + ) + +def ng_module(tsconfig = None, testonly = False, deps = [], **kwargs): + """Default values for ng_module""" + deps = deps + ["@ngudeps//tslib", "@ngudeps//@types/node"] + if not tsconfig: + tsconfig = _getDefaultTsConfig(testonly) + _ng_module( + tsconfig = tsconfig, + testonly = testonly, + deps = deps, + node_modules = DEFAULT_TS_TYPINGS, + **kwargs + ) + +def jasmine_node_test(deps = [], **kwargs): + local_deps = [ + # Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/344 + "@ngudeps//jasmine", + "@ngudeps//source-map-support", + ] + deps + + _jasmine_node_test( + deps = local_deps, + configuration_env_vars = ["compile"], + **kwargs + ) + +def ng_test_library(deps = [], tsconfig = None, **kwargs): + local_deps = [ + # We declare "@angular/core" and "@angular/core/testing" as default dependencies because + # all Angular component unit tests use the `TestBed` and `Component` exports. + "@angular//packages/core", + "@angular//packages/core/testing", + "@ngudeps//@types/jasmine", + ] + deps + + ts_library( + testonly = 1, + deps = local_deps, + **kwargs + ) def ng_package(globals = {}, **kwargs): - globals = dict(globals, **GLOBALS) + globals = dict(globals, **GLOBALS) - _ng_package(globals = globals, replacements=PKG_GROUP_REPLACEMENTS, **kwargs) + _ng_package(globals = globals, replacements = PKG_GROUP_REPLACEMENTS, **kwargs) def npm_package(name, replacements = {}, **kwargs): _npm_package( @@ -80,3 +136,16 @@ def npm_package(name, replacements = {}, **kwargs): replacements = dict(replacements, **PKG_GROUP_REPLACEMENTS), **kwargs ) + +def ng_web_test_suite(deps = [], srcs = [], **kwargs): + _ts_web_test_suite( + # Required for running the compiled ng modules that use TypeScript import helpers. + srcs = ["@ngudeps//node_modules/tslib:tslib.js"] + srcs, + # Depend on our custom test initialization script. This needs to be the first dependency. + deps = ["//test:angular_test_init"] + deps, + bootstrap = [ + "@ngudeps//node_modules/zone.js:dist/zone-testing-bundle.js", + "@ngudeps//node_modules/reflect-metadata:Reflect.js", + ], + **kwargs + ) diff --git a/tools/nguniversal_setup_workspace.bzl b/tools/nguniversal_setup_workspace.bzl new file mode 100644 index 000000000000..adc384b2171c --- /dev/null +++ b/tools/nguniversal_setup_workspace.bzl @@ -0,0 +1,28 @@ +# Copyright Google LLC All Rights Reserved. +# +# Use of this source code is governed by an MIT-style license that can be +# found in the LICENSE file at https://angular.io/license +"""Install Angular Universal source dependencies""" + +load("@build_bazel_rules_nodejs//:defs.bzl", "yarn_install") + +def nguniversal_setup_workspace(): + """ + This repository rule should be called from your WORKSPACE file. + It creates some additional Bazel external repositories that are used internally + to build Angular Universal + """ + + # Use Bazel managed node modules. See more below: + # https://github.com/bazelbuild/rules_nodejs#bazel-managed-vs-self-managed-dependencies + # Note: The repository_rule name is `@ngudeps` so it does not conflict with the `@npm` repository + # name downstream when building Angular Universal from source. In the future when Angular + Bazel + # users can build using the @angular/universal npm bundles (depends on Ivy) this can be changed + # to `@npm`. + yarn_install( + name = "ngudeps", + package_json = "@nguniversal//:package.json", + # Ensure that the script is available when running `postinstall` in the Bazel sandbox. + data = ["@nguniversal//:tools/npm/check-npm.js"], + yarn_lock = "@nguniversal//:yarn.lock", + ) diff --git a/tools/npm-workspace/@angular/bazel/BUILD.bazel b/tools/npm-workspace/@angular/bazel/BUILD.bazel new file mode 100644 index 000000000000..af0b62670883 --- /dev/null +++ b/tools/npm-workspace/@angular/bazel/BUILD.bazel @@ -0,0 +1,9 @@ +package(default_visibility = ["//visibility:public"]) + +# Create an alias so that "@npm//@angular/bazel" is a valid Bazel target that refers to the +# actual Bazel rules code from NPM. This is required by the "@angular//:@angular/bazel/ngc-wrapped +# target. See: https://github.com/angular/angular/blob/master/BUILD.bazel#L45 +alias( + name = "bazel", + actual = "@ngudeps//@angular/bazel", +) diff --git a/tools/npm-workspace/@angular/bazel/bin/BUILD.bazel b/tools/npm-workspace/@angular/bazel/bin/BUILD.bazel new file mode 100644 index 000000000000..327b7bf86a94 --- /dev/null +++ b/tools/npm-workspace/@angular/bazel/bin/BUILD.bazel @@ -0,0 +1,21 @@ +package(default_visibility = ["//visibility:public"]) + +# Workaround that ensures that our build targets using the Angular Bazel rules +# can find the required binaries. This is a temporary workaround and can be removed +# once we use the "npm" workspace for our own dependencies and consume Angular +# completely from NPM. + +alias( + name = "xi18n", + actual = "@ngudeps//@angular/bazel/bin:xi18n", +) + +alias( + name = "packager", + actual = "@ngudeps//@angular/bazel/bin:packager", +) + +alias( + name = "ngc-wrapped", + actual = "@ngudeps//@angular/bazel/bin:ngc-wrapped", +) diff --git a/tools/npm-workspace/@bazel/karma/bin/BUILD.bazel b/tools/npm-workspace/@bazel/karma/bin/BUILD.bazel new file mode 100644 index 000000000000..60b323ca2c4c --- /dev/null +++ b/tools/npm-workspace/@bazel/karma/bin/BUILD.bazel @@ -0,0 +1,11 @@ +package(default_visibility = ["//visibility:public"]) + +# Workaround that ensures that our build targets using the Bazel TypeScript web test +# rules can find the required source files. This is a temporary workaround and can be +# removed once we use the "npm" workspace for our own dependencies and consume Angular +# completely from NPM. + +alias( + name = "karma", + actual = "@ngudeps//@bazel/karma/bin:karma", +) diff --git a/tools/npm-workspace/@bazel/typescript/BUILD.bazel b/tools/npm-workspace/@bazel/typescript/BUILD.bazel new file mode 100644 index 000000000000..01c9b8118b42 --- /dev/null +++ b/tools/npm-workspace/@bazel/typescript/BUILD.bazel @@ -0,0 +1,10 @@ +package(default_visibility = ["//visibility:public"]) + +# Create an alias so that "@npm//@bazel/typescript" is a valid Bazel target that refers to the +# actual TypeScript rules output from NPM. This is required because by default the TypeScript +# rules expect the "tsc-wrapped" code to be available in the "npm" workspace. +# See: https://github.com/bazelbuild/rules_typescript/blob/master/BUILD.bazel#L66 +alias( + name = "typescript", + actual = "@ngudeps//@bazel/typescript", +) diff --git a/tools/npm-workspace/BUILD.bazel b/tools/npm-workspace/BUILD.bazel new file mode 100644 index 000000000000..ff13d98e95d4 --- /dev/null +++ b/tools/npm-workspace/BUILD.bazel @@ -0,0 +1 @@ +# Empty build file that marks this directory as a Bazel package. diff --git a/tools/npm-workspace/WORKSPACE b/tools/npm-workspace/WORKSPACE new file mode 100644 index 000000000000..d1060be5c5cf --- /dev/null +++ b/tools/npm-workspace/WORKSPACE @@ -0,0 +1 @@ +workspace(name = "npm") diff --git a/tools/npm/check-npm.js b/tools/npm/check-npm.js new file mode 100644 index 000000000000..4298f339b03c --- /dev/null +++ b/tools/npm/check-npm.js @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +if (process.env.npm_execpath.indexOf('yarn') === -1) { + console.error('Please use Yarn instead of NPM to install dependencies. ' + + 'See: https://yarnpkg.com/lang/en/docs/install/'); + process.exit(1); +} diff --git a/yarn.lock b/yarn.lock index e7b35afb3698..be268d652ed1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,122 +2,159 @@ # yarn lockfile v1 -"@angular-devkit/[email protected]", "@angular-devkit/core@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-0.7.5.tgz#49f7854ccadf3ddda8d0ea4359543a1cbdc6854d" - dependencies: - ajv "~6.4.0" - chokidar "^2.0.3" - rxjs "^6.0.0" - source-map "^0.5.6" - -"@angular-devkit/[email protected]", "@angular-devkit/schematics@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-0.7.5.tgz#f46b121f29cb40ad6095285d27a515114a56c5d6" - dependencies: - "@angular-devkit/core" "0.7.5" - rxjs "^6.0.0" - -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-6.0.4.tgz#4e22612e8fed3193983d985c748514a03404bd96" - dependencies: - tslib "^1.9.0" - -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/bazel/-/bazel-6.0.4.tgz#a87edd5b5c9b23cdb2b3f2188d95d18f87c1d1a4" - dependencies: - "@bazel/typescript" "^0.15.0" +"@angular-devkit/architect@^0.10.6": + version "0.10.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.10.7.tgz#c74b9f6b7f1b4261ada2d24c832328aa4c394464" + dependencies: + "@angular-devkit/core" "7.0.7" + rxjs "6.3.3" + +"@angular-devkit/[email protected]": + version "7.0.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.0.7.tgz#665176ad8421adfd5f3ea0b2c4a9a432a158b1bb" + dependencies: + ajv "6.5.3" + chokidar "2.0.4" + fast-json-stable-stringify "2.0.0" + rxjs "6.3.3" + source-map "0.7.3" + +"@angular-devkit/[email protected]", "@angular-devkit/core@^7.0.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.1.4.tgz#4d903fd2ecc259b716ae76da19695d03993e583c" + dependencies: + ajv "6.5.3" + chokidar "2.0.4" + fast-json-stable-stringify "2.0.0" + rxjs "6.3.3" + source-map "0.7.3" + +"@angular-devkit/[email protected]", "@angular-devkit/schematics@^7.0.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-7.1.4.tgz#d2828fb86b5453395fab12a36779d0fd9fbdadc2" + dependencies: + "@angular-devkit/core" "7.1.4" + rxjs "6.3.3" + +"@angular/bazel@^7.1.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular/bazel/-/bazel-7.1.4.tgz#1b84d7f843f7b0496efda4cd1c74496ee420a19a" + dependencies: + "@angular-devkit/architect" "^0.10.6" + "@angular-devkit/core" "^7.0.4" + "@angular-devkit/schematics" "^7.0.4" + "@bazel/typescript" "^0.21.0" + "@schematics/angular" "^7.0.4" "@types/node" "6.0.84" - "@types/shelljs" "0.7.7" - protobufjs "5.0.0" - shelljs "0.7.8" - -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-6.0.4.tgz#e3d194a1bb1e143044774488d610437a982179fa" - dependencies: - tslib "^1.9.0" + semver "^5.6.0" + shelljs "0.8.2" + tsickle "0.34.0" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-6.0.4.tgz#03596a2365aaed418e09999493560ba82fd45190" +"@angular/compiler-cli@^7.1.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-7.1.4.tgz#2a65ed98a189fb066d7e3dc6d98eff0918b3ff62" dependencies: + canonical-path "1.0.0" chokidar "^1.4.2" + convert-source-map "^1.5.1" + dependency-graph "^0.7.2" + magic-string "^0.25.0" minimist "^1.2.0" reflect-metadata "^0.1.2" - tsickle "^0.29.0" - -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-6.0.4.tgz#86d3adc2c915ee98aa8e00c542c2ef1c09f9c61f" - dependencies: + shelljs "^0.8.1" + source-map "^0.6.1" tslib "^1.9.0" + yargs "9.0.1" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-6.0.4.tgz#80b19624493126b6c7e3a180a33dee92c84b4bd6" +"@angular/compiler@^7.1.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-7.1.4.tgz#fc0f8ddd2d1b6e1a4aafab2af7949bbd05bc527c" dependencies: tslib "^1.9.0" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/http/-/http-6.0.4.tgz#5598c6eec895014da9242c22236af2757ae9fef1" +"@angular/core@^7.1.4": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-7.1.4.tgz#ad899985290957bbb9ac5c47c62ae5a72ccf5d00" dependencies: tslib "^1.9.0" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-6.0.4.tgz#3b86f6b826d45418520da583eb8ba0526f62a4bb" - dependencies: - tslib "^1.9.0" +"@bazel/[email protected]": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.20.0.tgz#648d61c32a3c5fccb7bf70b753071b6e54b11f21" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-6.0.4.tgz#3a86890324fd9de37df8d7195fcedf4145eefb3b" - dependencies: - tslib "^1.9.0" +"@bazel/[email protected]": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.20.0.tgz#2568628a0d0b85dcc69d0ab701b1d6e10551357d" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-6.0.4.tgz#38de69d98ca01a4e20d6eac7d19b85d9257f06aa" - dependencies: - domino "^2.0.1" - tslib "^1.9.0" - xhr2 "^0.1.4" +"@bazel/[email protected]": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.20.0.tgz#af7d041dae4c066e7aa8618949e2de1aad07495e" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-6.0.4.tgz#81c96dfa42a8c4a218cbd450b1e8959a76ea9595" - dependencies: - tslib "^1.9.0" +"@bazel/bazel@^0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.20.0.tgz#46688e915896b27200df61ab8175a7ba3e378915" + optionalDependencies: + "@bazel/bazel-darwin_x64" "0.20.0" + "@bazel/bazel-linux_x64" "0.20.0" + "@bazel/bazel-win32_x64" "0.20.0" -"@angular/[email protected]": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@angular/upgrade/-/upgrade-6.0.4.tgz#b12a016bab98db77bacbe9b1a83c4c2a47e5baf5" - dependencies: - tslib "^1.9.0" +"@bazel/[email protected]": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/buildifier-darwin_x64/-/buildifier-darwin_x64-0.20.0.tgz#1aeceb5a1a57a62eef6415377dbe95091781a7d4" -"@bazel/ibazel@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.3.1.tgz#5f02f208f138e581bbdb1534d5c013d7a0ac9799" +"@bazel/[email protected]": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/buildifier-linux_x64/-/buildifier-linux_x64-0.20.0.tgz#8cb6c8f999dbd8a9ee183906f202b698571d771b" -"@bazel/typescript@^0.15.0": - version "0.15.3" - resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.15.3.tgz#5c32b3bf664b268f9ffb634b86f40004a50e7ef9" +"@bazel/buildifier@^0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@bazel/buildifier/-/buildifier-0.20.0.tgz#24a10e485fe65dbd75ef812cf37635df1fb91d0d" + optionalDependencies: + "@bazel/buildifier-darwin_x64" "0.20.0" + "@bazel/buildifier-linux_x64" "0.20.0" + +"@bazel/[email protected]": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.9.0.tgz#fd60023acd36313d304cc2f8c2e181b88b5445cd" + +"@bazel/[email protected]": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-0.22.0.tgz#d2688ed05ea7e0be320802847ccc936da2688c70" + dependencies: + jasmine-core "2.8.0" + karma alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a + karma-chrome-launcher "2.2.0" + karma-firefox-launcher "1.1.0" + karma-jasmine "1.1.1" + karma-requirejs "1.1.0" + karma-sauce-launcher "1.2.0" + karma-sourcemap-loader "0.3.7" + requirejs "2.3.5" + tmp "0.0.33" + +"@bazel/[email protected]": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.22.0.tgz#8b38183125c3f25e6023b12a371561d9b54182d8" + dependencies: + protobufjs "5.0.3" + source-map-support "0.5.9" + tsutils "2.27.2" + +"@bazel/typescript@^0.21.0": + version "0.21.0" + resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.21.0.tgz#41c304f77a42c6a016280d0f4c20e0749c3f4b2a" dependencies: - protobufjs "5.0.0" - tsickle "0.25.x" - tsutils "2.20.0" + protobufjs "5.0.3" + source-map-support "0.5.9" + tsutils "2.27.2" -"@schematics/angular@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-0.7.5.tgz#ccb5ce587161b24042195e100be556ae19b3b7f6" +"@schematics/angular@^7.0.4", "@schematics/angular@^7.1.0": + version "7.1.4" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-7.1.4.tgz#cec4a5b793e54bd624018b6b5b4b917c467d22a5" dependencies: - "@angular-devkit/core" "0.7.5" - "@angular-devkit/schematics" "0.7.5" - typescript ">=2.6.2 <2.10" + "@angular-devkit/core" "7.1.4" + "@angular-devkit/schematics" "7.1.4" + typescript "3.1.6" "@types/body-parser@*": version "1.17.0" @@ -127,12 +164,12 @@ "@types/node" "*" "@types/boom@*": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@types/boom/-/boom-7.2.0.tgz#19c36cbb5811a7493f0f2e37f31d42b28df1abc1" + version "7.2.1" + resolved "https://registry.yarnpkg.com/@types/boom/-/boom-7.2.1.tgz#a21e21ba08cc49d17b26baef98e1a77ee4d6cdb0" "@types/catbox@*": - version "10.0.1" - resolved "https://registry.yarnpkg.com/@types/catbox/-/catbox-10.0.1.tgz#266679017749041fe9873fee1131dd2aaa04a07e" + version "10.0.3" + resolved "https://registry.yarnpkg.com/@types/catbox/-/catbox-10.0.3.tgz#6cbf87ddd35108b8d3945b0838794de8488a1cae" "@types/connect@*": version "3.4.32" @@ -142,7 +179,7 @@ "@types/events@*": version "1.2.0" - resolved "https://registry.yarnpkg.com/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86" + resolved "http://registry.npmjs.org/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86" "@types/express-serve-static-core@*": version "4.16.0" @@ -153,8 +190,8 @@ "@types/range-parser" "*" "@types/express@^4.0.39": - version "4.11.1" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.11.1.tgz#f99663b3ab32d04cb11db612ef5dd7933f75465b" + version "4.16.0" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.16.0.tgz#6d8bc42ccaa6f35cf29a2b7c3333cb47b5a32a19" dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "*" @@ -162,21 +199,13 @@ "@types/fs-extra@^4.0.5": version "4.0.8" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.8.tgz#6957ddaf9173195199cb96da3db44c74700463d2" - dependencies: - "@types/node" "*" - -"@types/glob@*": - version "5.0.35" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.35.tgz#1ae151c802cece940443b5ac246925c85189f32a" + resolved "http://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.8.tgz#6957ddaf9173195199cb96da3db44c74700463d2" dependencies: - "@types/events" "*" - "@types/minimatch" "*" "@types/node" "*" "@types/hapi@^17.0.12": - version "17.0.17" - resolved "https://registry.yarnpkg.com/@types/hapi/-/hapi-17.0.17.tgz#376b823c09d9f3537d3b4eb80f1fe30deffae8a0" + version "17.8.2" + resolved "https://registry.yarnpkg.com/@types/hapi/-/hapi-17.8.2.tgz#667fbeff250c338dca9e6cc1779f5696c7c148ed" dependencies: "@types/boom" "*" "@types/catbox" "*" @@ -194,12 +223,12 @@ "@types/node" "*" "@types/jasmine@^2.8.6": - version "2.8.7" - resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.8.7.tgz#3fe583928ae0a22cdd34cedf930eeffeda2602fd" + version "2.8.14" + resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.8.14.tgz#42a87032418b7d70f427d1df16a9921fca28d8c7" "@types/joi@*": - version "13.4.2" - resolved "https://registry.yarnpkg.com/@types/joi/-/joi-13.4.2.tgz#d91b07bb52393bfdc38901f313f6bc96ce40f623" + version "14.0.1" + resolved "https://registry.yarnpkg.com/@types/joi/-/joi-14.0.1.tgz#739be8a8899a75631a3c9f15611e54bbab06c024" "@types/mime-db@*": version "1.27.0" @@ -215,25 +244,21 @@ dependencies: "@types/mime-db" "*" -"@types/minimatch@*": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" - "@types/node@*": - version "10.1.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.1.2.tgz#1b928a0baa408fc8ae3ac012cc81375addc147c6" + version "10.12.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" "@types/[email protected]": version "6.0.84" resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.84.tgz#193ffe5a9f42864d425ffd9739d95b753c6a1eab" "@types/node@^6.0.46": - version "6.0.111" - resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.111.tgz#85f880a1bab78d395a5de9bcb5319e73a0c31400" + version "6.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-6.14.2.tgz#40b3dbb1221c7d66802cbcc32fe3b85e54569c77" "@types/node@^9.4.6": - version "9.6.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.18.tgz#092e13ef64c47e986802c9c45a61c1454813b31d" + version "9.6.41" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.41.tgz#e57c3152eb2e7ec748c733cebd0c095b437c5d37" "@types/podium@*": version "1.0.0" @@ -241,15 +266,15 @@ "@types/q@^0.0.32": version "0.0.32" - resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" + resolved "http://registry.npmjs.org/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" "@types/range-parser@*": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.2.tgz#fa8e1ad1d474688a757140c91de6dace6f4abc8d" + version "1.2.3" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" "@types/selenium-webdriver@^3.0.0": - version "3.0.10" - resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.10.tgz#e98cc6f05b4b436277671c784ee2f9d05a634f9b" + version "3.0.14" + resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.14.tgz#0b20a2370e6b1b8322c9c3dfcaa409e6c7c0c0a9" "@types/serve-static@*": version "1.13.2" @@ -258,22 +283,15 @@ "@types/express-serve-static-core" "*" "@types/mime" "*" -"@types/[email protected]": - version "0.7.7" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.7.tgz#1f7bfa28947661afea06365db9b1135bbc903ec4" - dependencies: - "@types/glob" "*" - "@types/node" "*" - "@types/shot@*": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@types/shot/-/shot-3.4.0.tgz#459477c5187d3ebd303660ab099e7e9e0f3b656f" + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/shot/-/shot-4.0.0.tgz#7545500c489b65c69b5bc5446ba4fef3bd26af92" dependencies: "@types/node" "*" JSONStream@^1.0.4: - version "1.3.2" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.2.tgz#c102371b6ec3a7cf3b847ca00c20bb0fce4c6dea" + version "1.3.5" + resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" dependencies: jsonparse "^1.2.0" through ">=2.2.7 <3" @@ -287,11 +305,11 @@ [email protected]: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" [email protected]: - version "3.0.2" - resolved "https://registry.yarnpkg.com/accept/-/accept-3.0.2.tgz#83e41cec7e1149f3fd474880423873db6c6cc9ac" + version "3.1.3" + resolved "https://registry.yarnpkg.com/accept/-/accept-3.1.3.tgz#29c3e2b3a8f4eedbc2b690e472b9ebbdc7385e87" dependencies: boom "7.x.x" - hoek "5.x.x" + hoek "6.x.x" accepts@~1.3.4, accepts@~1.3.5: version "1.3.5" @@ -305,40 +323,44 @@ acorn@^4.0.4: resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" acorn@^5.2.1: - version "5.5.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9" + version "5.7.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" + [email protected]: + version "1.0.1" + resolved "https://registry.yarnpkg.com/addressparser/-/addressparser-1.0.1.tgz#47afbe1a2a9262191db6838e4fd1d39b40821746" -adm-zip@^0.4.9: - version "0.4.11" - resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.11.tgz#2aa54c84c4b01a9d0fb89bb11982a51f13e3d62a" +adm-zip@^0.4.9, adm-zip@~0.4.3: + version "0.4.13" + resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.13.tgz#597e2f8cc3672151e1307d3e95cddbc75672314a" [email protected]: version "0.8.2" resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" -agent-base@^4.1.0: +agent-base@4, agent-base@^4.1.0, agent-base@^4.2.0, agent-base@~4.2.0: version "4.2.1" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" dependencies: es6-promisify "^5.0.0" -ajv@^5.3.0: - version "5.5.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" [email protected]: + version "6.5.3" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9" dependencies: - co "^4.6.0" - fast-deep-equal "^1.0.0" + fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.3.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" -ajv@~6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.4.0.tgz#d3aff78e9277549771daf0164cff48482b754fc6" +ajv@^6.5.5: + version "6.6.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.6.2.tgz#caceccf474bf3fc3ce3b147443711a24063cc30d" dependencies: - fast-deep-equal "^1.0.0" + fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.3.0" - uri-js "^3.0.2" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" align-text@^0.1.1, align-text@^0.1.3: version "0.1.4" @@ -353,10 +375,21 @@ amdefine@>=0.0.4, amdefine@^1.0.0: resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" [email protected]: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ammo/-/ammo-3.0.1.tgz#c79ceeac36fb4e55085ea3fe0c2f42bfa5f7c914" + version "3.0.3" + resolved "https://registry.yarnpkg.com/ammo/-/ammo-3.0.3.tgz#502aafa9d8bfca264143e226e5f322716e746b0c" dependencies: - hoek "5.x.x" + hoek "6.x.x" + +amqplib@^0.5.2: + version "0.5.3" + resolved "https://registry.yarnpkg.com/amqplib/-/amqplib-0.5.3.tgz#7ccfc85d12ee7cd3c6dc861bb07f0648ec3d7193" + dependencies: + bitsyntax "~0.1.0" + bluebird "^3.5.2" + buffer-more-ints "~1.0.0" + readable-stream "1.x >=1.1.9" + safe-buffer "~5.1.2" + url-parse "~1.4.3" ansi-cyan@^0.1.1: version "0.1.1" @@ -410,6 +443,30 @@ aproba@^1.0.3: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" +archiver-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-1.3.0.tgz#e50b4c09c70bf3d680e32ff1b7994e9f9d895174" + dependencies: + glob "^7.0.0" + graceful-fs "^4.1.0" + lazystream "^1.0.0" + lodash "^4.8.0" + normalize-path "^2.0.0" + readable-stream "^2.0.0" + [email protected]: + version "2.1.1" + resolved "https://registry.yarnpkg.com/archiver/-/archiver-2.1.1.tgz#ff662b4a78201494a3ee544d3a33fe7496509ebc" + dependencies: + archiver-utils "^1.3.0" + async "^2.0.0" + buffer-crc32 "^0.2.1" + glob "^7.0.0" + lodash "^4.8.0" + readable-stream "^2.0.0" + tar-stream "^1.5.0" + zip-stream "^1.2.0" + are-we-there-yet@~1.1.2: version "1.1.5" resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" @@ -458,7 +515,7 @@ array-find-index@^1.0.1: [email protected]: version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" + resolved "http://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" array-ify@^1.0.0: version "1.0.0" @@ -519,6 +576,10 @@ [email protected], assert-plus@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" +assert-plus@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" + assert@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" @@ -529,6 +590,10 @@ assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" [email protected]: + version "0.11.7" + resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.7.tgz#f318bf44e339db6a320be0009ded64ec1471f46c" + async-each@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" @@ -537,35 +602,53 @@ async-limiter@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" [email protected], async@^1.4.0: [email protected]: version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" + resolved "http://registry.npmjs.org/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@^2.1.4: - version "2.6.0" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" [email protected]: + version "2.0.1" + resolved "http://registry.npmjs.org/async/-/async-2.0.1.tgz#b709cc0280a9c36f09f4536be823c838a9049e25" dependencies: - lodash "^4.14.0" + lodash "^4.8.0" + +async@^2.0.0, async@^2.1.2, async@^2.1.4, async@^2.5.0, async@~2.6.0: + version "2.6.1" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" + dependencies: + lodash "^4.17.10" asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" atob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" + version "2.1.2" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" + +aws-sign2@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" -aws4@^1.8.0: +aws4@^1.2.1, aws4@^1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" +axios@^0.15.3: + version "0.15.3" + resolved "http://registry.npmjs.org/axios/-/axios-0.15.3.tgz#2c9d638b2e191a08ea1d6cc988eadd6ba5bdc053" + dependencies: + follow-redirects "1.0.0" + [email protected]: - version "4.0.0" - resolved "https://registry.yarnpkg.com/b64/-/b64-4.0.0.tgz#c37f587f0a383c7019e821120e8c3f58f0d22772" + version "4.1.2" + resolved "https://registry.yarnpkg.com/b64/-/b64-4.1.2.tgz#7015372ba8101f7fb18da070717a93c28c8580d8" + dependencies: + hoek "6.x.x" babel-code-frame@^6.22.0: version "6.26.0" @@ -624,12 +707,33 @@ [email protected]: resolved "https://registry.yarnpkg.com/big-time/-/big-time-2.0.1.tgz#68c7df8dc30f97e953f25a67a76ac9713c16c9de" binary-extensions@^1.0.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" + version "1.12.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.12.0.tgz#c2d780f53d45bba8317a8902d4ceeaf3a6385b14" [email protected]: - version "0.0.4" - resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.4.tgz#bcf13052ca54463f30f9fc7e95b9a47630a94921" +bitsyntax@~0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/bitsyntax/-/bitsyntax-0.1.0.tgz#b0c59acef03505de5a2ed62a2f763c56ae1d6205" + dependencies: + buffer-more-ints "~1.0.0" + debug "~2.6.9" + safe-buffer "~5.1.2" + +bl@^1.0.0: + version "1.2.2" + resolved "http://registry.npmjs.org/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" + dependencies: + readable-stream "^2.3.5" + safe-buffer "^5.1.1" + +bl@~1.1.2: + version "1.1.2" + resolved "http://registry.npmjs.org/bl/-/bl-1.1.2.tgz#fdca871a99713aa00d19e3bbba41c44787a65398" + dependencies: + readable-stream "~2.0.5" + [email protected]: + version "0.0.5" + resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" blocking-proxy@^1.0.0: version "1.0.1" @@ -637,30 +741,15 @@ blocking-proxy@^1.0.0: dependencies: minimist "^1.2.0" -bluebird@^3.3.0: - version "3.5.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" +bluebird@^3.3.0, bluebird@^3.5.2: + version "3.5.3" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" [email protected]: - version "1.18.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" - dependencies: - bytes "3.0.0" - content-type "~1.0.4" - debug "2.6.9" - depd "~1.1.1" - http-errors "~1.6.2" - iconv-lite "0.4.19" - on-finished "~2.3.0" - qs "6.5.1" - raw-body "2.3.2" - type-is "~1.6.15" - -body-parser@^1.16.1: [email protected], body-parser@^1.16.1: version "1.18.3" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.3.tgz#5b292198ffdd553b3a0f20ded0592b956955c8b4" dependencies: @@ -675,18 +764,24 @@ body-parser@^1.16.1: raw-body "2.3.3" type-is "~1.6.16" [email protected]: + version "2.10.1" + resolved "http://registry.npmjs.org/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" + dependencies: + hoek "2.x.x" + [email protected]: - version "7.2.0" - resolved "https://registry.yarnpkg.com/boom/-/boom-7.2.0.tgz#2bff24a55565767fde869ec808317eb10c48e966" + version "7.3.0" + resolved "https://registry.yarnpkg.com/boom/-/boom-7.3.0.tgz#733a6d956d33b0b1999da3fe6c12996950d017b9" dependencies: - hoek "5.x.x" + hoek "6.x.x" [email protected]: - version "1.2.0" - resolved "https://registry.yarnpkg.com/bounce/-/bounce-1.2.0.tgz#e3bac68c73fd256e38096551efc09f504873c8c8" + version "1.2.3" + resolved "https://registry.yarnpkg.com/bounce/-/bounce-1.2.3.tgz#2b286d36eb21d5f08fe672dd8cd37a109baad121" dependencies: boom "7.x.x" - hoek "5.x.x" + hoek "6.x.x" brace-expansion@^1.1.7: version "1.1.11" @@ -736,7 +831,7 @@ browser-resolve@^1.11.0: browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" + resolved "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" dependencies: buffer-xor "^1.0.3" cipher-base "^1.0.0" @@ -764,7 +859,7 @@ browserify-des@^1.0.0: browserify-rsa@^4.0.0: version "4.0.1" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" + resolved "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" dependencies: bn.js "^4.1.0" randombytes "^2.0.1" @@ -804,7 +899,7 @@ buffer-alloc@^1.2.0: buffer-alloc-unsafe "^1.1.0" buffer-fill "^1.0.0" -buffer-crc32@^0.2.5: +buffer-crc32@^0.2.1, buffer-crc32@^0.2.5: version "0.2.13" resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" @@ -816,17 +911,33 @@ buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" +buffer-more-ints@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz#ef4f8e2dddbad429ed3828a9c55d44f05c611422" + buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" -buffer@^5.0.6: - version "5.2.0" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.2.0.tgz#53cf98241100099e9eeae20ee6d51d21b16e541e" +buffer@^5.0.6, buffer@^5.1.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.2.1.tgz#dd57fa0f109ac59c602479044dca7b8b3d0b71d6" dependencies: base64-js "^1.0.2" ieee754 "^1.1.4" [email protected]: + version "4.0.1" + resolved "https://registry.yarnpkg.com/buildmail/-/buildmail-4.0.1.tgz#877f7738b78729871c9a105e3b837d2be11a7a72" + dependencies: + addressparser "1.0.1" + libbase64 "0.1.0" + libmime "3.0.0" + libqp "1.1.0" + nodemailer-fetch "1.6.0" + nodemailer-shared "1.1.0" + punycode "1.4.1" + builtin-modules@^1.0.0, builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" @@ -864,11 +975,11 @@ cache-base@^1.0.1: unset-value "^1.0.0" [email protected]: - version "5.0.1" - resolved "https://registry.yarnpkg.com/call/-/call-5.0.1.tgz#ac1b5c106d9edc2a17af2a4a4f74dd4f0c06e910" + version "5.0.3" + resolved "https://registry.yarnpkg.com/call/-/call-5.0.3.tgz#5dc82c698141c2d45c51a9c3c7e0697f43ac46a2" dependencies: boom "7.x.x" - hoek "5.x.x" + hoek "6.x.x" [email protected]: version "1.0.0" @@ -876,7 +987,7 @@ [email protected]: camelcase-keys@^2.0.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" + resolved "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" dependencies: camelcase "^2.0.0" map-obj "^1.0.0" @@ -901,26 +1012,37 @@ camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" +camelcase@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42" + [email protected]: + version "1.0.0" + resolved "https://registry.yarnpkg.com/canonical-path/-/canonical-path-1.0.0.tgz#fcb470c23958def85081856be7a86e904f180d1d" + +caseless@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" [email protected]: - version "3.1.2" - resolved "https://registry.yarnpkg.com/catbox-memory/-/catbox-memory-3.1.2.tgz#4aeec1bc994419c0f7e60087f172aaedd9b4911c" + version "3.1.4" + resolved "https://registry.yarnpkg.com/catbox-memory/-/catbox-memory-3.1.4.tgz#114fd6da3b2630a5db2ff246db9ff2226148c2b0" dependencies: big-time "2.x.x" boom "7.x.x" - hoek "5.x.x" + hoek "6.x.x" [email protected]: - version "10.0.2" - resolved "https://registry.yarnpkg.com/catbox/-/catbox-10.0.2.tgz#e6ac1f35102d1a9bd07915b82e508d12b50a8bfa" + version "10.0.6" + resolved "https://registry.yarnpkg.com/catbox/-/catbox-10.0.6.tgz#d8d8dc3c36c965560539f94245904b229a8af428" dependencies: boom "7.x.x" - bounce "1.x.x" - hoek "5.x.x" - joi "13.x.x" + hoek "6.x.x" + joi "14.x.x" center-align@^0.1.1: version "0.1.3" @@ -931,7 +1053,7 @@ center-align@^0.1.1: chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + resolved "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" dependencies: ansi-styles "^2.2.1" escape-string-regexp "^1.0.2" @@ -947,22 +1069,7 @@ chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chokidar@^1.4.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" - dependencies: - anymatch "^1.3.0" - async-each "^1.0.0" - glob-parent "^2.0.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^2.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - optionalDependencies: - fsevents "^1.0.0" - -chokidar@^2.0.3: [email protected], chokidar@^2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" dependencies: @@ -981,9 +1088,24 @@ chokidar@^2.0.3: optionalDependencies: fsevents "^1.2.2" -chownr@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" +chokidar@^1.4.1, chokidar@^1.4.2: + version "1.7.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" + dependencies: + anymatch "^1.3.0" + async-each "^1.0.0" + glob-parent "^2.0.0" + inherits "^2.0.1" + is-binary-path "^1.0.0" + is-glob "^2.0.0" + path-is-absolute "^1.0.0" + readdirp "^2.0.0" + optionalDependencies: + fsevents "^1.0.0" + +chownr@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" @@ -992,9 +1114,9 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: inherits "^2.0.1" safe-buffer "^5.0.1" -circular-json@^0.5.5: - version "0.5.7" - resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.5.7.tgz#b8be478d72ea58c7eeda26bf1cf1fba43d188842" +circular-json@^0.5.4, circular-json@^0.5.5: + version "0.5.9" + resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.5.9.tgz#932763ae88f4f7dead7a0d09c8a51a4743a53b1d" class-utils@^0.3.5: version "0.3.6" @@ -1049,18 +1171,18 @@ collection-visit@^1.0.0: object-visit "^1.0.0" color-convert@^1.9.0: - version "1.9.2" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" dependencies: - color-name "1.1.1" + color-name "1.1.3" [email protected]: - version "1.1.1" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" [email protected]: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" colors@^1.1.0: - version "1.2.5" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" + version "1.3.3" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" colour@~0.7.1: version "0.7.1" @@ -1081,20 +1203,20 @@ combine-source-map@^0.8.0: lodash.memoize "~3.0.3" source-map "~0.5.3" [email protected], combined-stream@~1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" +combined-stream@^1.0.5, combined-stream@^1.0.6, combined-stream@~1.0.5, combined-stream@~1.0.6: + version "1.0.7" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" dependencies: delayed-stream "~1.0.0" -commander@^2.12.1: +commander@^2.12.1, commander@^2.9.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" + +commander@~2.17.1: version "2.17.1" resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" -commander@~2.15.0: - version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" - compare-func@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" @@ -1114,6 +1236,15 @@ [email protected]: version "0.0.3" resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143" +compress-commons@^1.2.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-1.2.2.tgz#524a9f10903f3a813389b0225d27c48bb751890f" + dependencies: + buffer-crc32 "^0.2.1" + crc32-stream "^2.0.0" + normalize-path "^2.0.0" + readable-stream "^2.0.0" + [email protected]: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -1152,34 +1283,34 @@ constants-browserify@^1.0.0: [email protected]: version "0.5.2" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" + resolved "http://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" content-type@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" [email protected]: - version "4.0.5" - resolved "https://registry.yarnpkg.com/content/-/content-4.0.5.tgz#bc547deabc889ab69bce17faf3585c29f4c41bf2" + version "4.0.6" + resolved "https://registry.yarnpkg.com/content/-/content-4.0.6.tgz#76ffd96c5cbccf64fe3923cbb9c48b8bc04b273e" dependencies: boom "7.x.x" conventional-changelog-angular@^1.6.6: version "1.6.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" + resolved "http://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" dependencies: compare-func "^1.3.1" q "^1.5.1" conventional-changelog-atom@^0.2.8: version "0.2.8" - resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz#8037693455990e3256f297320a45fa47ee553a14" + resolved "http://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.2.8.tgz#8037693455990e3256f297320a45fa47ee553a14" dependencies: q "^1.5.1" conventional-changelog-codemirror@^0.3.8: version "0.3.8" - resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz#a1982c8291f4ee4d6f2f62817c6b2ecd2c4b7b47" + resolved "http://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.3.8.tgz#a1982c8291f4ee4d6f2f62817c6b2ecd2c4b7b47" dependencies: q "^1.5.1" @@ -1209,19 +1340,19 @@ conventional-changelog-ember@^0.3.12: conventional-changelog-eslint@^1.0.9: version "1.0.9" - resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz#b13cc7e4b472c819450ede031ff1a75c0e3d07d3" + resolved "http://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-1.0.9.tgz#b13cc7e4b472c819450ede031ff1a75c0e3d07d3" dependencies: q "^1.5.1" conventional-changelog-express@^0.3.6: version "0.3.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz#4a6295cb11785059fb09202180d0e59c358b9c2c" + resolved "http://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.3.6.tgz#4a6295cb11785059fb09202180d0e59c358b9c2c" dependencies: q "^1.5.1" conventional-changelog-jquery@^0.1.0: version "0.1.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz#0208397162e3846986e71273b6c79c5b5f80f510" + resolved "http://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz#0208397162e3846986e71273b6c79c5b5f80f510" dependencies: q "^1.4.1" @@ -1233,18 +1364,18 @@ conventional-changelog-jscs@^0.1.0: conventional-changelog-jshint@^0.3.8: version "0.3.8" - resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz#9051c1ac0767abaf62a31f74d2fe8790e8acc6c8" + resolved "http://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.3.8.tgz#9051c1ac0767abaf62a31f74d2fe8790e8acc6c8" dependencies: compare-func "^1.3.1" q "^1.5.1" conventional-changelog-preset-loader@^1.1.8: version "1.1.8" - resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz#40bb0f142cd27d16839ec6c74ee8db418099b373" + resolved "http://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-1.1.8.tgz#40bb0f142cd27d16839ec6c74ee8db418099b373" conventional-changelog-writer@^3.0.9: version "3.0.9" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz#4aecdfef33ff2a53bb0cf3b8071ce21f0e994634" + resolved "http://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-3.0.9.tgz#4aecdfef33ff2a53bb0cf3b8071ce21f0e994634" dependencies: compare-func "^1.3.1" conventional-commits-filter "^1.1.6" @@ -1275,14 +1406,14 @@ conventional-changelog@^1.1.0: conventional-commits-filter@^1.1.1, conventional-commits-filter@^1.1.6: version "1.1.6" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz#4389cd8e58fe89750c0b5fb58f1d7f0cc8ad3831" + resolved "http://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.6.tgz#4389cd8e58fe89750c0b5fb58f1d7f0cc8ad3831" dependencies: is-subset "^0.1.1" modify-values "^1.0.0" conventional-commits-parser@^2.1.1, conventional-commits-parser@^2.1.7: version "2.1.7" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz#eca45ed6140d72ba9722ee4132674d639e644e8e" + resolved "http://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz#eca45ed6140d72ba9722ee4132674d639e644e8e" dependencies: JSONStream "^1.0.4" is-text-path "^1.0.0" @@ -1304,13 +1435,15 @@ conventional-recommended-bump@^1.0.0: meow "^3.3.0" object-assign "^4.0.1" -convert-source-map@^1.5.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" +convert-source-map@^1.5.0, convert-source-map@^1.5.1: + version "1.6.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20" + dependencies: + safe-buffer "~5.1.1" convert-source-map@~1.1.0: version "1.1.3" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" + resolved "http://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" [email protected]: version "1.0.6" @@ -1325,17 +1458,30 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" core-js@^2.2.0: - version "2.5.6" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" + version "2.6.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.1.tgz#87416ae817de957a3f249b3b5ca475d4aaed6042" core-js@~2.3.0: version "2.3.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.3.0.tgz#fab83fbb0b2d8dc85fa636c4b9d34c75420c6d65" + resolved "http://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz#fab83fbb0b2d8dc85fa636c4b9d34c75420c6d65" [email protected], core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" +crc32-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-2.0.0.tgz#e3cdd3b4df3168dd74e3de3fbbcb7b297fe908f4" + dependencies: + crc "^3.4.4" + readable-stream "^2.0.0" + +crc@^3.4.4: + version "3.8.0" + resolved "https://registry.yarnpkg.com/crc/-/crc-3.8.0.tgz#ad60269c2c856f8c299e2c4cc0de4556914056c6" + dependencies: + buffer "^5.1.0" + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -1345,7 +1491,7 @@ create-ecdh@^4.0.0: create-hash@^1.1.0, create-hash@^1.1.2: version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + resolved "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" dependencies: cipher-base "^1.0.1" inherits "^2.0.1" @@ -1355,7 +1501,7 @@ create-hash@^1.1.0, create-hash@^1.1.2: create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + resolved "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" dependencies: cipher-base "^1.0.3" create-hash "^1.1.0" @@ -1372,9 +1518,25 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" +cross-spawn@^6.0.0: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + [email protected]: + version "2.0.5" + resolved "http://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" + dependencies: + boom "2.x.x" + [email protected]: - version "4.1.2" - resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-4.1.2.tgz#363c9ab5c859da9d2d6fb901b64d980966181184" + version "4.1.3" + resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-4.1.3.tgz#2461d3390ea0b82c643a6ba79f0ed491b0934c25" dependencies: boom "7.x.x" @@ -1416,9 +1578,13 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +data-uri-to-buffer@1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz#77163ea9c20d8641b4707e8f18abdf9a78f34835" + date-format@^0.0.0: version "0.0.0" - resolved "https://registry.yarnpkg.com/date-format/-/date-format-0.0.0.tgz#09206863ab070eb459acea5542cbd856b11966b3" + resolved "http://registry.npmjs.org/date-format/-/date-format-0.0.0.tgz#09206863ab070eb459acea5542cbd856b11966b3" date-format@^1.2.0: version "1.2.0" @@ -1439,22 +1605,28 @@ dateformat@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" [email protected], debug@^2.1.2, debug@^2.2.0, debug@^2.3.3: +debug@2, [email protected], debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@~2.6.4, debug@~2.6.6, debug@~2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: ms "2.0.0" -debug@^0.7.2: - version "0.7.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-0.7.4.tgz#06e1ea8082c2cb14e39806e22e2f6f757f92af39" - -debug@^3.1.0, debug@~3.1.0: [email protected], debug@=3.1.0, debug@~3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: ms "2.0.0" +debug@^0.7.2: + version "0.7.4" + resolved "http://registry.npmjs.org/debug/-/debug-0.7.4.tgz#06e1ea8082c2cb14e39806e22e2f6f757f92af39" + +debug@^3.1.0: + version "3.2.6" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" + dependencies: + ms "^2.1.1" + decamelize-keys@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" @@ -1462,16 +1634,10 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2: +decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" -decamelize@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-2.0.0.tgz#656d7bbc8094c4c788ea53c5840908c9c7d063c7" - dependencies: - xregexp "4.0.0" - decode-uri-component@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" @@ -1485,8 +1651,8 @@ deep-is@~0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" deepmerge@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.1.1.tgz#e862b4e45ea0555072bf51e7fd0d9845170ae768" + version "2.2.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170" defaults@^1.0.3: version "1.0.3" @@ -1513,6 +1679,14 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +degenerator@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/degenerator/-/degenerator-1.0.4.tgz#fcf490a37ece266464d9cc431ab98c5819ced095" + dependencies: + ast-types "0.x.x" + escodegen "1.x.x" + esprima "3.x.x" + del@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" @@ -1533,14 +1707,14 @@ delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" [email protected]: - version "1.1.1" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" - -depd@~1.1.1, depd@~1.1.2: +depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" +dependency-graph@^0.7.2: + version "0.7.2" + resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.7.2.tgz#91db9de6eb72699209d88aea4c1fd5221cac1c49" + des.js@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" @@ -1566,7 +1740,7 @@ diff@^3.1.0, diff@^3.2.0: diffie-hellman@^5.0.0: version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" + resolved "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" dependencies: bn.js "^4.1.0" miller-rabin "^4.0.0" @@ -1585,9 +1759,9 @@ domain-browser@^1.1.7: version "1.2.0" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" -domino@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.0.tgz#653ba7d331441113b42e40ba05f24253ec86e02e" +domino@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.1.tgz#cd5c639940db72bb7cde1cdb5beea466a4113136" dot-prop@^3.0.0: version "3.0.0" @@ -1602,6 +1776,10 @@ dotgitignore@^1.0.3: find-up "^2.1.0" minimatch "^3.0.4" +double-ended-queue@^2.1.0-0: + version "2.1.0-0" + resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c" + ecc-jsbn@~0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" @@ -1629,9 +1807,31 @@ encodeurl@~1.0.1, encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" +end-of-stream@^1.0.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" + dependencies: + once "^1.4.0" + +engine.io-client@~3.1.0: + version "3.1.6" + resolved "http://registry.npmjs.org/engine.io-client/-/engine.io-client-3.1.6.tgz#5bdeb130f8b94a50ac5cbeb72583e7a4a063ddfd" + dependencies: + component-emitter "1.2.1" + component-inherit "0.0.3" + debug "~3.1.0" + engine.io-parser "~2.1.1" + has-cors "1.1.0" + indexof "0.0.1" + parseqs "0.0.5" + parseuri "0.0.5" + ws "~3.3.1" + xmlhttprequest-ssl "~1.5.4" + yeast "0.1.2" + engine.io-client@~3.2.0: version "3.2.1" - resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-3.2.1.tgz#6f54c0475de487158a1a7c77d10178708b6add36" + resolved "http://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz#6f54c0475de487158a1a7c77d10178708b6add36" dependencies: component-emitter "1.2.1" component-inherit "0.0.3" @@ -1646,18 +1846,31 @@ engine.io-client@~3.2.0: yeast "0.1.2" engine.io-parser@~2.1.0, engine.io-parser@~2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.1.2.tgz#4c0f4cff79aaeecbbdcfdea66a823c6085409196" + version "2.1.3" + resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.1.3.tgz#757ab970fbf2dfb32c7b74b033216d5739ef79a6" dependencies: after "0.8.2" arraybuffer.slice "~0.0.7" base64-arraybuffer "0.1.5" - blob "0.0.4" + blob "0.0.5" has-binary2 "~1.0.2" +engine.io@~3.1.0: + version "3.1.5" + resolved "http://registry.npmjs.org/engine.io/-/engine.io-3.1.5.tgz#0e7ef9d690eb0b35597f1d4ad02a26ca2dba3845" + dependencies: + accepts "~1.3.4" + base64id "1.0.0" + cookie "0.3.1" + debug "~3.1.0" + engine.io-parser "~2.1.0" + ws "~3.3.1" + optionalDependencies: + uws "~9.14.0" + engine.io@~3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.2.0.tgz#54332506f42f2edc71690d2f2a42349359f3bf7d" + version "3.2.1" + resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.2.1.tgz#b60281c35484a70ee0351ea0ebff83ec8c9522a2" dependencies: accepts "~1.3.4" base64id "1.0.0" @@ -1678,19 +1891,19 @@ error-ex@^1.2.0, error-ex@^1.3.1: es6-promise@^3.1.2: version "3.3.1" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613" + resolved "http://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613" es6-promise@^4.0.3: - version "4.2.4" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29" + version "4.2.5" + resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.5.tgz#da6d0d5692efb461e082c14817fe2427d8f5d054" es6-promise@~3.0.2: version "3.0.2" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.0.2.tgz#010d5858423a5f118979665f46486a95c6ee2bb6" + resolved "http://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz#010d5858423a5f118979665f46486a95c6ee2bb6" es6-promisify@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" + resolved "http://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" dependencies: es6-promise "^4.0.3" @@ -1713,10 +1926,25 @@ [email protected]: optionalDependencies: source-map "~0.2.0" [email protected]: + version "1.11.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589" + dependencies: + esprima "^3.1.3" + estraverse "^4.2.0" + esutils "^2.0.2" + optionator "^0.8.1" + optionalDependencies: + source-map "~0.6.1" + [email protected], esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" [email protected], esprima@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" + esprima@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" @@ -1725,6 +1953,10 @@ estraverse@^1.9.1: version "1.9.3" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" +estraverse@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" + estree-walker@^0.5.0, estree-walker@^0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39" @@ -1743,7 +1975,7 @@ eventemitter3@^3.0.0: events@^1.1.1: version "1.1.1" - resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" + resolved "http://registry.npmjs.org/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" @@ -1752,6 +1984,18 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" +execa@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" + dependencies: + cross-spawn "^6.0.0" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + execa@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -1796,24 +2040,24 @@ expand-brackets@^2.1.4: expand-range@^0.1.0: version "0.1.1" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-0.1.1.tgz#4cb8eda0993ca56fa4f41fc42f3cbb4ccadff044" + resolved "http://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz#4cb8eda0993ca56fa4f41fc42f3cbb4ccadff044" dependencies: is-number "^0.1.1" repeat-string "^0.2.2" expand-range@^1.8.1: version "1.8.2" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" + resolved "http://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" dependencies: fill-range "^2.1.0" express@^4.15.2: - version "4.16.3" - resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53" + version "4.16.4" + resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e" dependencies: accepts "~1.3.5" array-flatten "1.1.1" - body-parser "1.18.2" + body-parser "1.18.3" content-disposition "0.5.2" content-type "~1.0.4" cookie "0.3.1" @@ -1830,10 +2074,10 @@ express@^4.15.2: on-finished "~2.3.0" parseurl "~1.3.2" path-to-regexp "0.1.7" - proxy-addr "~2.0.3" - qs "6.5.1" + proxy-addr "~2.0.4" + qs "6.5.2" range-parser "~1.2.0" - safe-buffer "5.1.1" + safe-buffer "5.1.2" send "0.16.2" serve-static "1.13.2" setprototypeof "1.1.0" @@ -1861,7 +2105,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@^3.0.0, extend@~3.0.2: +extend@3, extend@^3.0.0, extend@~3.0.0, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" @@ -1892,11 +2136,11 @@ extsprintf@^1.2.0: version "1.4.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" -fast-deep-equal@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" +fast-deep-equal@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" -fast-json-stable-stringify@^2.0.0: [email protected], fast-json-stable-stringify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" @@ -1911,6 +2155,10 @@ figures@^1.5.0: escape-string-regexp "^1.0.5" object-assign "^4.1.0" +file-uri-to-path@1: + version "1.0.0" + resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + filename-regex@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" @@ -1948,7 +2196,7 @@ [email protected]: [email protected]: version "1.1.1" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" + resolved "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" dependencies: debug "2.6.9" encodeurl "~1.0.2" @@ -1977,11 +2225,21 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" +flatted@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916" + [email protected]: + version "1.0.0" + resolved "http://registry.npmjs.org/follow-redirects/-/follow-redirects-1.0.0.tgz#8e34298cbd2e176f254effec75a1c78cc849fd37" + dependencies: + debug "^2.2.0" + follow-redirects@^1.0.0: - version "1.5.5" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.5.tgz#3c143ca599a2e22e62876687d68b23d55bad788b" + version "1.5.10" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a" dependencies: - debug "^3.1.0" + debug "=3.1.0" for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" @@ -1997,12 +2255,20 @@ forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" -form-data@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099" +form-data@~2.0.0: + version "2.0.0" + resolved "http://registry.npmjs.org/form-data/-/form-data-2.0.0.tgz#6f0aebadcc5da16c13e1ecc11137d85f9b883b25" dependencies: asynckit "^0.4.0" - combined-stream "1.0.6" + combined-stream "^1.0.5" + mime-types "^2.1.11" + +form-data@~2.3.0, form-data@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.6" mime-types "^2.1.12" forwarded@~0.1.2: @@ -2021,10 +2287,14 @@ [email protected]: fs-access@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/fs-access/-/fs-access-1.0.1.tgz#d6a87f262271cefebec30c553407fb995da8777a" + resolved "http://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz#d6a87f262271cefebec30c553407fb995da8777a" dependencies: null-check "^1.0.0" +fs-constants@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" + fs-extra@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" @@ -2050,6 +2320,13 @@ fsevents@^1.0.0, fsevents@^1.2.2: nan "^2.9.2" node-pre-gyp "^0.10.0" +ftp@~0.3.10: + version "0.3.10" + resolved "https://registry.yarnpkg.com/ftp/-/ftp-0.3.10.tgz#9197d861ad8142f3e63d5a83bfe4c59f7330885d" + dependencies: + readable-stream "1.1.x" + xregexp "2.0.0" + gauge@~2.7.3: version "2.7.4" resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" @@ -2063,6 +2340,18 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" +generate-function@^2.0.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.3.1.tgz#f069617690c10c868e73b8465746764f97c3479f" + dependencies: + is-property "^1.0.2" + +generate-object-property@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" + dependencies: + is-property "^1.0.0" + get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" @@ -2083,7 +2372,18 @@ get-stdin@^4.0.1: get-stream@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + resolved "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + +get-uri@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-2.0.2.tgz#5c795e71326f6ca1286f2fc82575cd2bab2af578" + dependencies: + data-uri-to-buffer "1" + debug "2" + extend "3" + file-uri-to-path "1" + ftp "~0.3.10" + readable-stream "2" get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" @@ -2097,7 +2397,7 @@ getpass@^0.1.1: git-raw-commits@^1.3.0, git-raw-commits@^1.3.6: version "1.3.6" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.3.6.tgz#27c35a32a67777c1ecd412a239a6c19d71b95aff" + resolved "http://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.6.tgz#27c35a32a67777c1ecd412a239a6c19d71b95aff" dependencies: dargs "^4.0.1" lodash.template "^4.0.2" @@ -2114,7 +2414,7 @@ git-remote-origin-url@^2.0.0: git-semver-tags@^1.3.0, git-semver-tags@^1.3.6: version "1.3.6" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.3.6.tgz#357ea01f7280794fe0927f2806bee6414d2caba5" + resolved "http://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.3.6.tgz#357ea01f7280794fe0927f2806bee6414d2caba5" dependencies: meow "^4.0.0" semver "^5.5.0" @@ -2145,7 +2445,7 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob@^5.0.10, glob@^5.0.15: +glob@^5.0.15: version "5.0.15" resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" dependencies: @@ -2156,8 +2456,8 @@ glob@^5.0.10, glob@^5.0.15: path-is-absolute "^1.0.0" glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + version "7.1.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -2168,7 +2468,7 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2: globby@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" + resolved "http://registry.npmjs.org/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" dependencies: array-union "^1.0.1" arrify "^1.0.0" @@ -2177,23 +2477,23 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" +graceful-fs@^4.1.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6: + version "4.1.15" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" handlebars@^4.0.1, handlebars@^4.0.2: - version "4.0.11" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc" + version "4.0.12" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5" dependencies: - async "^1.4.0" + async "^2.5.0" optimist "^0.6.1" - source-map "^0.4.4" + source-map "^0.6.1" optionalDependencies: - uglify-js "^2.6" + uglify-js "^3.1.4" hapi@^17.5.1: - version "17.5.3" - resolved "https://registry.yarnpkg.com/hapi/-/hapi-17.5.3.tgz#60266ca072d69620b5b135c0c98a17228c3bf34d" + version "17.8.1" + resolved "https://registry.yarnpkg.com/hapi/-/hapi-17.8.1.tgz#63cc5bbc138b6ae0919e977764647a17556e4c87" dependencies: accept "3.x.x" ammo "3.x.x" @@ -2203,11 +2503,12 @@ hapi@^17.5.1: catbox "10.x.x" catbox-memory "3.x.x" heavy "6.x.x" - hoek "5.x.x" - joi "13.x.x" + hoek "6.x.x" + joi "14.x.x" mimos "4.x.x" podium "3.x.x" shot "4.x.x" + somever "2.x.x" statehood "6.x.x" subtext "6.x.x" teamwork "3.x.x" @@ -2217,11 +2518,20 @@ har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" +har-validator@~2.0.6: + version "2.0.6" + resolved "http://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" + dependencies: + chalk "^1.1.1" + commander "^2.9.0" + is-my-json-valid "^2.12.4" + pinkie-promise "^2.0.0" + har-validator@~5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.0.tgz#44657f5688a22cfd4b72486e81b3a3fb11742c29" + version "5.1.3" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" dependencies: - ajv "^5.3.0" + ajv "^6.5.5" har-schema "^2.0.0" has-ansi@^2.0.0: @@ -2287,19 +2597,35 @@ hash-base@^3.0.0: safe-buffer "^5.0.1" hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.5" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.5.tgz#e38ab4b85dfb1e0c40fe9265c0e9b54854c23812" + version "1.1.7" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" dependencies: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hawk@~3.1.3: + version "3.1.3" + resolved "http://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" + dependencies: + boom "2.x.x" + cryptiles "2.x.x" + hoek "2.x.x" + sntp "1.x.x" + [email protected]: - version "6.1.0" - resolved "https://registry.yarnpkg.com/heavy/-/heavy-6.1.0.tgz#1bbfa43dc61dd4b543ede3ff87db8306b7967274" + version "6.1.2" + resolved "https://registry.yarnpkg.com/heavy/-/heavy-6.1.2.tgz#e5d56f18170a37b01d4381bc07fece5edc68520b" dependencies: boom "7.x.x" - hoek "5.x.x" - joi "13.x.x" + hoek "6.x.x" + joi "14.x.x" + +hipchat-notifier@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/hipchat-notifier/-/hipchat-notifier-1.1.0.tgz#b6d249755437c191082367799d3ba9a0f23b231e" + dependencies: + lodash "^4.0.0" + request "^2.0.0" hmac-drbg@^1.0.0: version "1.0.1" @@ -2309,9 +2635,13 @@ hmac-drbg@^1.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" [email protected]: - version "5.0.4" - resolved "https://registry.yarnpkg.com/hoek/-/hoek-5.0.4.tgz#0f7fa270a1cafeb364a4b2ddfaa33f864e4157da" [email protected]: + version "2.16.3" + resolved "http://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" + [email protected]: + version "6.1.2" + resolved "https://registry.yarnpkg.com/hoek/-/hoek-6.1.2.tgz#99e6d070561839de74ee427b61aa476bd6bddfd6" homedir-polyfill@^1.0.1: version "1.0.1" @@ -2323,24 +2653,22 @@ hosted-git-info@^2.1.4: version "2.7.1" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" [email protected]: - version "1.6.2" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" - dependencies: - depd "1.1.1" - inherits "2.0.3" - setprototypeof "1.0.3" - statuses ">= 1.3.1 < 2" - [email protected], http-errors@~1.6.2, http-errors@~1.6.3: version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" + resolved "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" dependencies: depd "~1.1.2" inherits "2.0.3" setprototypeof "1.1.0" statuses ">= 1.4.0 < 2" +http-proxy-agent@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" + dependencies: + agent-base "4" + debug "3.1.0" + http-proxy@^1.13.0: version "1.17.0" resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a" @@ -2349,6 +2677,14 @@ http-proxy@^1.13.0: follow-redirects "^1.0.0" requires-port "^1.0.0" +http-signature@~1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" + dependencies: + assert-plus "^0.2.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -2357,6 +2693,17 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" [email protected]: + version "1.6.1" + resolved "https://registry.yarnpkg.com/httpntlm/-/httpntlm-1.6.1.tgz#ad01527143a2e8773cfae6a96f58656bb52a34b2" + dependencies: + httpreq ">=0.4.22" + underscore "~1.7.0" + +httpreq@>=0.4.22: + version "0.4.24" + resolved "https://registry.yarnpkg.com/httpreq/-/httpreq-0.4.24.tgz#4335ffd82cd969668a39465c929ac61d6393627f" + https-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" @@ -2368,16 +2715,22 @@ https-proxy-agent@^2.2.1: agent-base "^4.1.0" debug "^3.1.0" [email protected]: - version "0.4.19" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" [email protected]: + version "0.4.15" + resolved "http://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.15.tgz#fe265a218ac6a57cfe854927e9d04c19825eddeb" [email protected], iconv-lite@^0.4.4: [email protected]: version "0.4.23" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.4.4: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + dependencies: + safer-buffer ">= 2.1.2 < 3" + ieee754@^1.1.4: version "1.1.12" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" @@ -2406,6 +2759,14 @@ [email protected]: version "0.0.1" resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" +inflection@~1.12.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/inflection/-/inflection-1.12.0.tgz#a200935656d6f5f6bc4dc7502e1aecb703228416" + +inflection@~1.3.0: + version "1.3.8" + resolved "https://registry.yarnpkg.com/inflection/-/inflection-1.3.8.tgz#cbd160da9f75b14c3cc63578d4f396784bf3014e" + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -2439,21 +2800,30 @@ invert-kv@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" +invert-kv@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" + +ip@^1.1.2, ip@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" + [email protected]: version "1.8.0" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e" [email protected]: - version "5.0.4" - resolved "https://registry.yarnpkg.com/iron/-/iron-5.0.4.tgz#003ed822f656f07c2b62762815f5de3947326867" + version "5.0.6" + resolved "https://registry.yarnpkg.com/iron/-/iron-5.0.6.tgz#7121d4a6e3ac2f65e4d02971646fea1995434744" dependencies: + b64 "4.x.x" boom "7.x.x" cryptiles "4.x.x" - hoek "5.x.x" + hoek "6.x.x" is-accessor-descriptor@^0.1.6: version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" + resolved "http://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" dependencies: kind-of "^3.0.2" @@ -2479,13 +2849,13 @@ is-buffer@^1.1.5: is-builtin-module@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" + resolved "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" dependencies: builtin-modules "^1.0.0" is-data-descriptor@^0.1.4: version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" + resolved "http://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" dependencies: kind-of "^3.0.2" @@ -2577,6 +2947,20 @@ is-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" +is-my-ip-valid@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz#7b351b8e8edd4d3995d4d066680e664d94696824" + +is-my-json-valid@^2.12.4: + version "2.19.0" + resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz#8fd6e40363cd06b963fa877d444bfb5eddc62175" + dependencies: + generate-function "^2.0.0" + generate-object-property "^1.1.0" + is-my-ip-valid "^1.0.0" + jsonpointer "^4.0.0" + xtend "^4.0.0" + is-number@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806" @@ -2599,7 +2983,7 @@ is-number@^4.0.0: is-obj@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" + resolved "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" is-path-cwd@^1.0.0: version "1.0.0" @@ -2635,6 +3019,10 @@ is-primitive@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" +is-property@^1.0.0, is-property@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -2680,8 +3068,8 @@ isbinaryfile@^3.0.0: buffer-alloc "^1.2.0" [email protected]: - version "3.1.3" - resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.3.tgz#64f37fc113579ea12523165c3ebe3a71a56ce571" + version "3.2.0" + resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.2.0.tgz#59310a021931a9fb06bbb51e155ce0b3f236832c" dependencies: punycode "2.x.x" @@ -2722,14 +3110,14 @@ [email protected], istanbul@^0.4.0: which "^1.1.1" wordwrap "^1.0.0" -jasmine-core@^2.8.0: - version "2.99.1" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.99.1.tgz#e6400df1e6b56e130b61c4bcd093daa7f6e8ca15" - -jasmine-core@~2.8.0: [email protected], jasmine-core@~2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e" +jasmine-core@^2.8.0: + version "2.99.1" + resolved "http://registry.npmjs.org/jasmine-core/-/jasmine-core-2.99.1.tgz#e6400df1e6b56e130b61c4bcd093daa7f6e8ca15" + [email protected]: version "2.8.0" resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-2.8.0.tgz#6b089c0a11576b1f16df11b80146d91d4e8b8a3e" @@ -2742,11 +3130,11 @@ jasminewd2@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/jasminewd2/-/jasminewd2-2.2.0.tgz#e37cf0b17f199cce23bea71b2039395246b4ec4e" [email protected]: - version "13.6.0" - resolved "https://registry.yarnpkg.com/joi/-/joi-13.6.0.tgz#877d820e3ad688a49c32421ffefc746bfbe2d0a0" [email protected]: + version "14.3.0" + resolved "https://registry.yarnpkg.com/joi/-/joi-14.3.0.tgz#55f7c5caa8256de74ccb12eb22ab1c19eea02db3" dependencies: - hoek "5.x.x" + hoek "6.x.x" isemail "3.x.x" topo "3.x.x" @@ -2769,15 +3157,15 @@ json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" -json-schema-traverse@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" [email protected]: version "0.2.3" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: [email protected], json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -2791,6 +3179,10 @@ jsonparse@^1.2.0: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" +jsonpointer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -2810,7 +3202,7 @@ jszip@^3.1.3: pako "~1.0.2" readable-stream "~2.0.6" -karma-chrome-launcher@^2.2.0: [email protected], karma-chrome-launcher@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz#cf1b9d07136cc18fe239327d24654c3dbc368acf" dependencies: @@ -2827,17 +3219,38 @@ karma-coverage@^1.1.1: minimatch "^3.0.0" source-map "^0.5.1" [email protected]: + version "1.1.0" + resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-1.1.0.tgz#2c47030452f04531eb7d13d4fc7669630bb93339" + [email protected]: + version "1.1.1" + resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-1.1.1.tgz#6fe840e75a11600c9d91e84b33c458e1c46a3529" + karma-jasmine@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-1.1.2.tgz#394f2b25ffb4a644b9ada6f22d443e2fd08886c3" -karma-sourcemap-loader@^0.3.7: [email protected]: + version "1.1.0" + resolved "https://registry.yarnpkg.com/karma-requirejs/-/karma-requirejs-1.1.0.tgz#fddae2cb87d7ebc16fb0222893564d7fee578798" + [email protected]: + version "1.2.0" + resolved "https://registry.yarnpkg.com/karma-sauce-launcher/-/karma-sauce-launcher-1.2.0.tgz#6f2558ddef3cf56879fa27540c8ae9f8bfd16bca" + dependencies: + q "^1.5.0" + sauce-connect-launcher "^1.2.2" + saucelabs "^1.4.0" + wd "^1.4.0" + [email protected], karma-sourcemap-loader@^0.3.7: version "0.3.7" resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz#91322c77f8f13d46fed062b042e1009d4c4505d8" dependencies: graceful-fs "^4.1.2" -karma-typescript@^3.0.12: +karma-typescript@^3.0.13: version "3.0.13" resolved "https://registry.yarnpkg.com/karma-typescript/-/karma-typescript-3.0.13.tgz#8948afbd103ac1987a5961a0f43a1ba2871067cd" dependencies: @@ -2883,8 +3296,8 @@ karma-typescript@^3.0.12: vm-browserify "0.0.4" karma@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/karma/-/karma-3.0.0.tgz#6da83461a8a28d8224575c3b5b874e271b4730c3" + version "3.1.4" + resolved "https://registry.yarnpkg.com/karma/-/karma-3.1.4.tgz#3890ca9722b10d1d14b726e1335931455788499e" dependencies: bluebird "^3.3.0" body-parser "^1.16.1" @@ -2896,11 +3309,12 @@ karma@^3.0.0: di "^0.0.1" dom-serialize "^2.2.0" expand-braces "^0.1.1" + flatted "^2.0.0" glob "^7.1.1" graceful-fs "^4.1.2" http-proxy "^1.13.0" isbinaryfile "^3.0.0" - lodash "^4.17.4" + lodash "^4.17.5" log4js "^3.0.0" mime "^2.3.1" minimatch "^3.0.2" @@ -2912,11 +3326,43 @@ karma@^3.0.0: socket.io "2.1.1" source-map "^0.6.1" tmp "0.0.33" - useragent "2.2.1" + useragent "2.3.0" + +karma@alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a: + version "1.7.1" + resolved "https://codeload.github.com/alexeagle/karma/tar.gz/fa1a84ac881485b5657cb669e9b4e5da77b79f0a" + dependencies: + bluebird "^3.3.0" + body-parser "^1.16.1" + chokidar "^1.4.1" + colors "^1.1.0" + combine-lists "^1.0.0" + connect "^3.6.0" + core-js "^2.2.0" + di "^0.0.1" + dom-serialize "^2.2.0" + expand-braces "^0.1.1" + glob "^7.1.1" + graceful-fs "^4.1.2" + http-proxy "^1.13.0" + isbinaryfile "^3.0.0" + lodash "^4.17.4" + log4js "^2.3.9" + mime "^1.3.4" + minimatch "^3.0.2" + optimist "^0.6.1" + qjobs "^1.1.4" + range-parser "^1.2.0" + rimraf "^2.6.0" + safe-buffer "^5.0.1" + socket.io "2.0.4" + source-map "^0.6.1" + tmp "0.0.33" + useragent "^2.1.12" kind-of@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-1.1.0.tgz#140a3d2d41a36d2efcfa9377b62c24f8495a5c44" + resolved "http://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz#140a3d2d41a36d2efcfa9377b62c24f8495a5c44" kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" @@ -2942,12 +3388,24 @@ lazy-cache@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" +lazystream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz#f6995fe0f820392f61396be89462407bb77168e4" + dependencies: + readable-stream "^2.0.5" + lcid@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" dependencies: invert-kv "^1.0.0" +lcid@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" + dependencies: + invert-kv "^2.0.0" + levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" @@ -2955,6 +3413,22 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" [email protected]: + version "0.1.0" + resolved "https://registry.yarnpkg.com/libbase64/-/libbase64-0.1.0.tgz#62351a839563ac5ff5bd26f12f60e9830bb751e6" + [email protected]: + version "3.0.0" + resolved "https://registry.yarnpkg.com/libmime/-/libmime-3.0.0.tgz#51a1a9e7448ecbd32cda54421675bb21bc093da6" + dependencies: + iconv-lite "0.4.15" + libbase64 "0.1.0" + libqp "1.1.0" + [email protected]: + version "1.1.0" + resolved "https://registry.yarnpkg.com/libqp/-/libqp-1.1.0.tgz#f5e6e06ad74b794fb5b5b66988bf728ef1dedbe8" + lie@~3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" @@ -2963,7 +3437,7 @@ lie@~3.1.0: load-json-file@^1.0.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" + resolved "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" dependencies: graceful-fs "^4.1.2" parse-json "^2.2.0" @@ -2973,7 +3447,7 @@ load-json-file@^1.0.0: load-json-file@^2.0.0: version "2.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" + resolved "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" dependencies: graceful-fs "^4.1.2" parse-json "^2.2.0" @@ -3028,9 +3502,9 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "~3.0.0" -lodash@^4.14.0, lodash@^4.17.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.5.0: - version "4.17.10" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" [email protected], lodash@^4.0.0, lodash@^4.15.0, lodash@^4.16.6, lodash@^4.17.0, lodash@^4.17.10, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.5.0, lodash@^4.8.0: + version "4.17.11" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" log4js@^1.1.1: version "1.1.1" @@ -3040,9 +3514,28 @@ log4js@^1.1.1: semver "^5.3.0" streamroller "^0.4.0" +log4js@^2.3.9: + version "2.11.0" + resolved "https://registry.yarnpkg.com/log4js/-/log4js-2.11.0.tgz#bf3902eff65c6923d9ce9cfbd2db54160e34005a" + dependencies: + circular-json "^0.5.4" + date-format "^1.2.0" + debug "^3.1.0" + semver "^5.5.0" + streamroller "0.7.0" + optionalDependencies: + amqplib "^0.5.2" + axios "^0.15.3" + hipchat-notifier "^1.1.0" + loggly "^1.1.0" + mailgun-js "^0.18.0" + nodemailer "^2.5.0" + redis "^2.7.1" + slack-node "~0.2.0" + log4js@^3.0.0: - version "3.0.5" - resolved "https://registry.yarnpkg.com/log4js/-/log4js-3.0.5.tgz#b80146bfebad68b430d4f3569556d8a6edfef303" + version "3.0.6" + resolved "https://registry.yarnpkg.com/log4js/-/log4js-3.0.6.tgz#e6caced94967eeeb9ce399f9f8682a4b2b28c8ff" dependencies: circular-json "^0.5.5" date-format "^1.2.0" @@ -3050,6 +3543,14 @@ log4js@^3.0.0: rfdc "^1.1.2" streamroller "0.7.0" +loggly@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/loggly/-/loggly-1.1.1.tgz#0a0fc1d3fa3a5ec44fdc7b897beba2a4695cebee" + dependencies: + json-stringify-safe "5.0.x" + request "2.75.x" + timespan "2.3.x" + long@~3: version "3.2.0" resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" @@ -3065,26 +3566,55 @@ loud-rejection@^1.0.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" [email protected]: - version "2.2.4" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.2.4.tgz#6c658619becf14031d0d0b594b16042ce4dc063d" - -lru-cache@^4.0.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" [email protected], lru-cache@^4.0.1, lru-cache@^4.1.2: + version "4.1.5" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" dependencies: pseudomap "^1.0.2" yallist "^2.1.2" magic-string@^0.22.4: version "0.22.5" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.5.tgz#8e9cf5afddf44385c1da5bc2a6a0dbd10b03657e" + resolved "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz#8e9cf5afddf44385c1da5bc2a6a0dbd10b03657e" dependencies: vlq "^0.2.2" +magic-string@^0.25.0: + version "0.25.1" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" + dependencies: + sourcemap-codec "^1.4.1" + [email protected]: + version "4.0.1" + resolved "https://registry.yarnpkg.com/mailcomposer/-/mailcomposer-4.0.1.tgz#0e1c44b2a07cf740ee17dc149ba009f19cadfeb4" + dependencies: + buildmail "4.0.1" + libmime "3.0.0" + +mailgun-js@^0.18.0: + version "0.18.1" + resolved "https://registry.yarnpkg.com/mailgun-js/-/mailgun-js-0.18.1.tgz#ee39aa18d7bb598a5ce9ede84afb681defc8a6b0" + dependencies: + async "~2.6.0" + debug "~3.1.0" + form-data "~2.3.0" + inflection "~1.12.0" + is-stream "^1.1.0" + path-proxy "~1.0.0" + promisify-call "^2.0.2" + proxy-agent "~3.0.0" + tsscmp "~1.0.0" + make-error@^1.1.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.4.tgz#19978ed575f9e9545d2ff8c13e33b5d18a67d535" + version "1.3.5" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" + +map-age-cleaner@^0.1.1: + version "0.1.3" + resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" + dependencies: + p-defer "^1.0.0" map-cache@^0.2.2: version "0.2.2" @@ -3109,15 +3639,16 @@ math-random@^1.0.1: resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" md5.js@^1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.4.tgz#e9bdbde94a20a5ac18b04340fc5764d5b09d901d" + version "1.3.5" + resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" dependencies: hash-base "^3.0.0" inherits "^2.0.1" + safe-buffer "^5.1.2" [email protected]: version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" + resolved "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" mem@^1.1.0: version "1.1.0" @@ -3125,9 +3656,17 @@ mem@^1.1.0: dependencies: mimic-fn "^1.0.0" +mem@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mem/-/mem-4.0.0.tgz#6437690d9471678f6cc83659c00cbafcd6b0cdaf" + dependencies: + map-age-cleaner "^0.1.1" + mimic-fn "^1.0.0" + p-is-promise "^1.1.0" + meow@^3.3.0: version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" + resolved "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" dependencies: camelcase-keys "^2.0.0" decamelize "^1.1.2" @@ -3180,7 +3719,7 @@ micromatch@^2.1.5, micromatch@^2.3.11: parse-glob "^3.0.4" regex-cache "^0.4.2" -micromatch@^3.1.4: +micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" dependencies: @@ -3205,33 +3744,37 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" [email protected], mime-db@~1.35.0: - version "1.35.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.35.0.tgz#0569d657466491283709663ad379a99b90d9ab47" [email protected], mime-db@~1.37.0: + version "1.37.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" -mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19: - version "2.1.19" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.19.tgz#71e464537a7ef81c15f2db9d97e913fc0ff606f0" +mime-types@^2.1.11, mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19, mime-types@~2.1.7: + version "2.1.21" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" dependencies: - mime-db "~1.35.0" + mime-db "~1.37.0" [email protected]: version "1.4.1" resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" +mime@^1.3.4: + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + mime@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369" + version "2.4.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.0.tgz#e051fd881358585f3279df333fe694da0bcffdd6" mimic-fn@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" [email protected]: - version "4.0.0" - resolved "https://registry.yarnpkg.com/mimos/-/mimos-4.0.0.tgz#76e3d27128431cb6482fd15b20475719ad626a5a" + version "4.0.2" + resolved "https://registry.yarnpkg.com/mimos/-/mimos-4.0.2.tgz#f2762d7c60118ce51c2231afa090bc335d21d0f8" dependencies: - hoek "5.x.x" + hoek "6.x.x" mime-db "1.x.x" minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: @@ -3257,26 +3800,26 @@ minimist-options@^3.0.1: [email protected]: version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + resolved "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" minimist@^1.1.3, minimist@^1.2.0: version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + resolved "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" minimist@~0.0.1: version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" + resolved "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" -minipass@^2.2.1, minipass@^2.2.4: - version "2.3.1" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.1.tgz#4e872b959131a672837ab3cb554962bc84b1537d" +minipass@^2.2.1, minipass@^2.3.4: + version "2.3.5" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" dependencies: - safe-buffer "^5.1.1" + safe-buffer "^5.1.2" yallist "^3.0.0" -minizlib@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" +minizlib@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614" dependencies: minipass "^2.2.1" @@ -3289,7 +3832,7 @@ mixin-deep@^1.2.0: [email protected], mkdirp@^0.5.0, mkdirp@^0.5.1: version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + resolved "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" dependencies: minimist "0.0.8" @@ -3301,9 +3844,13 @@ [email protected]: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" +ms@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" + nan@^2.9.2: - version "2.10.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" + version "2.12.1" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" nanomatch@^1.2.9: version "1.2.13" @@ -3322,8 +3869,8 @@ nanomatch@^1.2.9: to-regex "^3.0.1" needle@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.2.tgz#1120ca4c41f2fcc6976fd28a8968afe239929418" + version "2.2.4" + resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.4.tgz#51931bff82533b1928b7d1d69e01f1b00ffd2a4e" dependencies: debug "^2.1.2" iconv-lite "^0.4.4" @@ -3333,11 +3880,19 @@ [email protected]: version "0.6.1" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" +netmask@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/netmask/-/netmask-1.0.6.tgz#20297e89d86f6f6400f250d9f4f6b4c1945fcd35" + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + [email protected]: - version "3.0.1" - resolved "https://registry.yarnpkg.com/nigel/-/nigel-3.0.1.tgz#48a08859d65177312f1c25af7252c1e07bb07c2a" + version "3.0.4" + resolved "https://registry.yarnpkg.com/nigel/-/nigel-3.0.4.tgz#edcd82f2e9387fe34ba21e3127ae4891547c7945" dependencies: - hoek "5.x.x" + hoek "6.x.x" vise "3.x.x" node-pre-gyp@^0.10.0: @@ -3355,6 +3910,59 @@ node-pre-gyp@^0.10.0: semver "^5.3.0" tar "^4" +node-uuid@~1.4.7: + version "1.4.8" + resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907" + [email protected]: + version "3.3.2" + resolved "https://registry.yarnpkg.com/nodemailer-direct-transport/-/nodemailer-direct-transport-3.3.2.tgz#e96fafb90358560947e569017d97e60738a50a86" + dependencies: + nodemailer-shared "1.1.0" + smtp-connection "2.12.0" + [email protected]: + version "1.6.0" + resolved "https://registry.yarnpkg.com/nodemailer-fetch/-/nodemailer-fetch-1.6.0.tgz#79c4908a1c0f5f375b73fe888da9828f6dc963a4" + [email protected]: + version "1.1.0" + resolved "https://registry.yarnpkg.com/nodemailer-shared/-/nodemailer-shared-1.1.0.tgz#cf5994e2fd268d00f5cf0fa767a08169edb07ec0" + dependencies: + nodemailer-fetch "1.6.0" + [email protected]: + version "2.8.2" + resolved "https://registry.yarnpkg.com/nodemailer-smtp-pool/-/nodemailer-smtp-pool-2.8.2.tgz#2eb94d6cf85780b1b4725ce853b9cbd5e8da8c72" + dependencies: + nodemailer-shared "1.1.0" + nodemailer-wellknown "0.1.10" + smtp-connection "2.12.0" + [email protected]: + version "2.7.2" + resolved "https://registry.yarnpkg.com/nodemailer-smtp-transport/-/nodemailer-smtp-transport-2.7.2.tgz#03d71c76314f14ac7dbc7bf033a6a6d16d67fb77" + dependencies: + nodemailer-shared "1.1.0" + nodemailer-wellknown "0.1.10" + smtp-connection "2.12.0" + [email protected]: + version "0.1.10" + resolved "https://registry.yarnpkg.com/nodemailer-wellknown/-/nodemailer-wellknown-0.1.10.tgz#586db8101db30cb4438eb546737a41aad0cf13d5" + +nodemailer@^2.5.0: + version "2.7.2" + resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-2.7.2.tgz#f242e649aeeae39b6c7ed740ef7b061c404d30f9" + dependencies: + libmime "3.0.0" + mailcomposer "4.0.1" + nodemailer-direct-transport "3.3.2" + nodemailer-shared "1.1.0" + nodemailer-smtp-pool "2.8.2" + nodemailer-smtp-transport "2.7.2" + socks "1.1.9" + [email protected]: version "3.0.6" resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" @@ -3388,8 +3996,8 @@ npm-bundled@^1.0.1: resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979" npm-packlist@^1.1.6: - version "1.1.11" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.11.tgz#84e8c683cbe7867d34b1d357d893ce29e28a02de" + version "1.1.12" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.12.tgz#22bde2ebc12e72ca482abd67afc51eb49377243a" dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -3417,6 +4025,10 @@ number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" +oauth-sign@~0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" + oauth-sign@~0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" @@ -3462,7 +4074,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" [email protected], once@^1.3.0: [email protected], once@^1.3.0, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" dependencies: @@ -3496,11 +4108,11 @@ os-browserify@^0.3.0: os-homedir@^1.0.0: version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" + resolved "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" os-locale@^1.4.0: version "1.4.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" + resolved "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" dependencies: lcid "^1.0.0" @@ -3512,9 +4124,17 @@ os-locale@^2.0.0: lcid "^1.0.0" mem "^1.1.0" +os-locale@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.0.1.tgz#3b014fbf01d87f60a1e5348d80fe870dc82c4620" + dependencies: + execa "^0.10.0" + lcid "^2.0.0" + mem "^4.0.0" + os-tmpdir@^1.0.0, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + resolved "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" osenv@^0.1.4: version "0.1.5" @@ -3523,10 +4143,18 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" +p-defer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" +p-is-promise@^1.1.0: + version "1.1.0" + resolved "http://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" + p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -3559,19 +4187,42 @@ p-try@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" +pac-proxy-agent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pac-proxy-agent/-/pac-proxy-agent-3.0.0.tgz#11d578b72a164ad74bf9d5bac9ff462a38282432" + dependencies: + agent-base "^4.2.0" + debug "^3.1.0" + get-uri "^2.0.0" + http-proxy-agent "^2.1.0" + https-proxy-agent "^2.2.1" + pac-resolver "^3.0.0" + raw-body "^2.2.0" + socks-proxy-agent "^4.0.1" + +pac-resolver@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pac-resolver/-/pac-resolver-3.0.0.tgz#6aea30787db0a891704deb7800a722a7615a6f26" + dependencies: + co "^4.6.0" + degenerator "^1.0.4" + ip "^1.1.5" + netmask "^1.0.6" + thunkify "^2.1.2" + pad@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/pad/-/pad-2.1.0.tgz#f8882815ab9046a5acd297ed1c9cdeea158e51e4" + version "2.2.1" + resolved "https://registry.yarnpkg.com/pad/-/pad-2.2.1.tgz#e53e5de1304bc4c6c38004cad803f7641cff3220" dependencies: wcwidth "^1.0.1" pako@~1.0.2, pako@~1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258" + version "1.0.7" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.7.tgz#2473439021b57f1516c82f58be7275ad8ef1bb27" parse-asn1@^5.0.0: version "5.1.1" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8" + resolved "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8" dependencies: asn1.js "^4.0.0" browserify-aes "^1.0.0" @@ -3631,7 +4282,7 @@ pascalcase@^0.1.1: [email protected]: version "0.0.0" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" + resolved "http://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" path-dirname@^1.0.0: version "1.0.2" @@ -3649,20 +4300,26 @@ path-exists@^3.0.0: path-is-absolute@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + resolved "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" path-is-inside@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" -path-key@^2.0.0: +path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" -path-parse@^1.0.5: +path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" +path-proxy@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/path-proxy/-/path-proxy-1.0.0.tgz#18e8a36859fc9d2f1a53b48dee138543c020de5e" + dependencies: + inflection "~1.3.0" + [email protected]: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -3688,8 +4345,8 @@ path-type@^3.0.0: pify "^3.0.0" pbkdf2@^3.0.3: - version "3.0.16" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.16.tgz#7404208ec6b01b62d85bf83853a8064f8d9c2a5c" + version "3.0.17" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" dependencies: create-hash "^1.1.2" create-hmac "^1.1.4" @@ -3702,18 +4359,18 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" [email protected]: - version "4.0.2" - resolved "https://registry.yarnpkg.com/pez/-/pez-4.0.2.tgz#0a7c81b64968e90b0e9562b398f390939e9c4b53" + version "4.0.5" + resolved "https://registry.yarnpkg.com/pez/-/pez-4.0.5.tgz#a975c49deff330d298d82851b39f81c2710556df" dependencies: b64 "4.x.x" boom "7.x.x" content "4.x.x" - hoek "5.x.x" + hoek "6.x.x" nigel "3.x.x" pify@^2.0.0, pify@^2.3.0: version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + resolved "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" pify@^3.0.0: version "3.0.0" @@ -3740,11 +4397,11 @@ plugin-error@^0.1.2: extend-shallow "^1.1.2" [email protected]: - version "3.1.2" - resolved "https://registry.yarnpkg.com/podium/-/podium-3.1.2.tgz#b701429739cf6bdde6b3015ae6b48d400817ce9e" + version "3.2.0" + resolved "https://registry.yarnpkg.com/podium/-/podium-3.2.0.tgz#2a7c579ddd5408f412d014c9ffac080c41d83477" dependencies: - hoek "5.x.x" - joi "13.x.x" + hoek "6.x.x" + joi "14.x.x" posix-character-classes@^0.1.0: version "0.1.1" @@ -3770,18 +4427,24 @@ process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" [email protected]: - version "5.0.0" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-5.0.0.tgz#4223063233ea96ac063ca2b554035204db524fa1" +promisify-call@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/promisify-call/-/promisify-call-2.0.4.tgz#d48c2d45652ccccd52801ddecbd533a6d4bd5fba" + dependencies: + with-callback "^1.0.2" + [email protected]: + version "5.0.3" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-5.0.3.tgz#e4dfe9fb67c90b2630d15868249bcc4961467a17" dependencies: ascli "~1" bytebuffer "~5" - glob "^5.0.10" + glob "^7.0.5" yargs "^3.10.0" protractor@^5.2.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.0.tgz#e71c9c1f5cf6c5e9bdbcdb71e7f31b17ffd2878f" + version "5.4.1" + resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.1.tgz#011a99e38df7aa45d22455b889ffbb13a6ce0bd9" dependencies: "@types/node" "^6.0.46" "@types/q" "^0.0.32" @@ -3797,51 +4460,69 @@ protractor@^5.2.0: saucelabs "^1.5.0" selenium-webdriver "3.6.0" source-map-support "~0.4.0" - webdriver-js-extender "2.0.0" + webdriver-js-extender "2.1.0" webdriver-manager "^12.0.6" -proxy-addr@~2.0.3: +proxy-addr@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93" dependencies: forwarded "~0.1.2" ipaddr.js "1.8.0" +proxy-agent@~3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/proxy-agent/-/proxy-agent-3.0.3.tgz#1c1a33db60ef5f2e9e35b876fd63c2bc681c611d" + dependencies: + agent-base "^4.2.0" + debug "^3.1.0" + http-proxy-agent "^2.1.0" + https-proxy-agent "^2.2.1" + lru-cache "^4.1.2" + pac-proxy-agent "^3.0.0" + proxy-from-env "^1.0.0" + socks-proxy-agent "^4.0.1" + +proxy-from-env@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee" + pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" psl@^1.1.24: - version "1.1.29" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.29.tgz#60f580d360170bb722a797cc704411e6da850c67" + version "1.1.31" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" public-encrypt@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.2.tgz#46eb9107206bf73489f8b85b69d91334c6610994" + version "4.0.3" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" dependencies: bn.js "^4.1.0" browserify-rsa "^4.0.0" create-hash "^1.1.0" parse-asn1 "^5.0.0" randombytes "^2.0.1" + safe-buffer "^5.1.2" [email protected]: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" [email protected], punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + [email protected], punycode@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" -punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - [email protected]: version "1.4.1" resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e" -q@^1.4.1, q@^1.5.1: +q@^1.4.1, q@^1.5.0, q@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -3849,14 +4530,14 @@ qjobs@^1.1.4: version "1.2.0" resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071" [email protected]: - version "6.5.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" - [email protected], qs@~6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" +qs@~6.2.0: + version "6.2.3" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.2.3.tgz#1cfcb25c10a9b2b483053ff39f5dfc9233908cfe" + querystring-es3@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -3865,13 +4546,17 @@ [email protected]: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" +querystringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.0.tgz#7ded8dfbf7879dcc60d0a644ac6754b283ad17ef" + quick-lru@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" randomatic@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.0.tgz#36f2ca708e9e567f5ed2ec01949026d50aa10116" + version "3.1.1" + resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" dependencies: is-number "^4.0.0" kind-of "^6.0.0" @@ -3894,16 +4579,7 @@ range-parser@^1.2.0, range-parser@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" [email protected]: - version "2.3.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" - dependencies: - bytes "3.0.0" - http-errors "1.6.2" - iconv-lite "0.4.19" - unpipe "1.0.0" - [email protected]: [email protected], raw-body@^2.2.0: version "2.3.3" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3" dependencies: @@ -3966,18 +4642,18 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -readable-stream@^1.1.7: [email protected], "[email protected] >=1.1.9", readable-stream@^1.1.7: version "1.1.14" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" + resolved "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" dependencies: core-util-is "~1.0.0" inherits "~2.0.1" isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.6: +readable-stream@2, readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + resolved "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" dependencies: core-util-is "~1.0.0" inherits "~2.0.3" @@ -3987,9 +4663,9 @@ readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@~2.0.0, readable-stream@~2.0.6: +readable-stream@~2.0.0, readable-stream@~2.0.5, readable-stream@~2.0.6: version "2.0.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" + resolved "http://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" dependencies: core-util-is "~1.0.0" inherits "~2.0.1" @@ -3999,13 +4675,12 @@ readable-stream@~2.0.0, readable-stream@~2.0.6: util-deprecate "~1.0.1" readdirp@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" + version "2.2.1" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" dependencies: - graceful-fs "^4.1.2" - minimatch "^3.0.2" + graceful-fs "^4.1.11" + micromatch "^3.1.10" readable-stream "^2.0.2" - set-immediate-shim "^1.0.1" rechoir@^0.6.2: version "0.6.2" @@ -4027,6 +4702,22 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" +redis-commands@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/redis-commands/-/redis-commands-1.4.0.tgz#52f9cf99153efcce56a8f86af986bd04e988602f" + +redis-parser@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/redis-parser/-/redis-parser-2.6.0.tgz#52ed09dacac108f1a631c07e9b69941e7a19504b" + +redis@^2.7.1: + version "2.8.0" + resolved "https://registry.yarnpkg.com/redis/-/redis-2.8.0.tgz#202288e3f58c49f6079d97af7a10e1303ae14b02" + dependencies: + double-ended-queue "^2.1.0-0" + redis-commands "^1.2.0" + redis-parser "^2.6.0" + reflect-metadata@^0.1.2: version "0.1.12" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.12.tgz#311bf0c6b63cd782f228a81abe146a2bfa9c56f2" @@ -4060,8 +4751,8 @@ remove-trailing-separator@^1.0.1: resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" repeat-element@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" + version "1.1.3" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" repeat-string@^0.2.2: version "0.2.2" @@ -4085,7 +4776,33 @@ replace-in-file@^3.1.1: glob "^7.1.2" yargs "^12.0.1" -request@^2.87.0: [email protected]: + version "2.75.0" + resolved "http://registry.npmjs.org/request/-/request-2.75.0.tgz#d2b8268a286da13eaa5d01adf5d18cc90f657d93" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + bl "~1.1.2" + caseless "~0.11.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.0.0" + har-validator "~2.0.6" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + node-uuid "~1.4.7" + oauth-sign "~0.8.1" + qs "~6.2.0" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "~0.4.1" + [email protected], request@^2.0.0, request@^2.74.0, request@^2.87.0: version "2.88.0" resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" dependencies: @@ -4110,6 +4827,15 @@ request@^2.87.0: tunnel-agent "^0.6.0" uuid "^3.3.2" +requestretry@^1.2.2: + version "1.13.0" + resolved "https://registry.yarnpkg.com/requestretry/-/requestretry-1.13.0.tgz#213ec1006eeb750e8b8ce54176283d15a8d55d94" + dependencies: + extend "^3.0.0" + lodash "^4.15.0" + request "^2.74.0" + when "^3.7.7" + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -4118,6 +4844,10 @@ require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" [email protected]: + version "2.3.5" + resolved "https://registry.yarnpkg.com/requirejs/-/requirejs-2.3.5.tgz#617b9acbbcb336540ef4914d790323a8d4b861b0" + requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" @@ -4128,13 +4858,13 @@ resolve-url@^0.2.1: [email protected], [email protected]: version "1.1.7" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" + resolved "http://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" resolve@^1.1.6, resolve@^1.3.2, resolve@^1.4.0: - version "1.8.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" + version "1.9.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06" dependencies: - path-parse "^1.0.5" + path-parse "^1.0.6" ret@~0.1.10: version "0.1.15" @@ -4164,14 +4894,14 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: inherits "^2.0.1" rollup-plugin-alias@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-1.4.0.tgz#120cba7c46621c03138f0ca6fd5dd2ade9872db9" + version "1.5.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-1.5.1.tgz#80cce3a967befda5b09c86abc14a043a78035b46" dependencies: - slash "^1.0.0" + slash "^2.0.0" rollup-plugin-commonjs@^8.2.6: version "8.4.1" - resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.4.1.tgz#5c9cea2b2c3de322f5fbccd147e07ed5e502d7a0" + resolved "http://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.4.1.tgz#5c9cea2b2c3de322f5fbccd147e07ed5e502d7a0" dependencies: acorn "^5.2.1" estree-walker "^0.5.0" @@ -4180,8 +4910,8 @@ rollup-plugin-commonjs@^8.2.6: rollup-pluginutils "^2.0.1" rollup-plugin-node-resolve@^3.0.2: - version "3.3.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.3.0.tgz#c26d110a36812cbefa7ce117cadcd3439aa1c713" + version "3.4.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz#908585eda12e393caac7498715a01e08606abc89" dependencies: builtin-modules "^2.0.0" is-module "^1.0.0" @@ -4201,33 +4931,29 @@ rollup-plugin-uglify@^2.0.1: uglify-js "^3.0.9" rollup-pluginutils@^2.0.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.2.0.tgz#64ba3f29988b84322bafa188a9f99ca731c95354" + version "2.3.3" + resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794" dependencies: estree-walker "^0.5.2" micromatch "^2.3.11" rollup@^0.56.5: version "0.56.5" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.56.5.tgz#40fe3cf0cd1659d469baad11f4d5b6336c14ce84" + resolved "http://registry.npmjs.org/rollup/-/rollup-0.56.5.tgz#40fe3cf0cd1659d469baad11f4d5b6336c14ce84" -rxjs@^6.0.0, rxjs@^6.2.0: - version "6.2.2" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.2.2.tgz#eb75fa3c186ff5289907d06483a77884586e1cf9" [email protected], rxjs@^6.3.3: + version "6.3.3" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" dependencies: tslib "^1.9.0" [email protected]: - version "5.1.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" - -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: [email protected], safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1, safe-buffer@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" safe-regex@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" + resolved "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" dependencies: ret "~0.1.10" @@ -4244,7 +4970,17 @@ sander@^0.5.0: mkdirp "^0.5.1" rimraf "^2.5.2" -saucelabs@^1.5.0: +sauce-connect-launcher@^1.2.2: + version "1.2.4" + resolved "https://registry.yarnpkg.com/sauce-connect-launcher/-/sauce-connect-launcher-1.2.4.tgz#8d38f85242a9fbede1b2303b559f7e20c5609a1c" + dependencies: + adm-zip "~0.4.3" + async "^2.1.2" + https-proxy-agent "^2.2.1" + lodash "^4.16.6" + rimraf "^2.5.4" + +saucelabs@^1.4.0, saucelabs@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/saucelabs/-/saucelabs-1.5.0.tgz#9405a73c360d449b232839919a86c396d379fd9d" dependencies: @@ -4263,9 +4999,9 @@ [email protected], selenium-webdriver@^3.0.1: tmp "0.0.30" xml2js "^0.4.17" -"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0, semver@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" +"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0, semver@^5.5.0, semver@^5.6.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" [email protected]: version "0.16.2" @@ -4298,10 +5034,6 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" -set-immediate-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - set-value@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" @@ -4324,17 +5056,13 @@ setimmediate@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" [email protected]: - version "1.0.3" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" - [email protected]: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" sha.js@^2.4.0, sha.js@^2.4.8: version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + resolved "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" dependencies: inherits "^2.0.1" safe-buffer "^5.0.1" @@ -4349,28 +5077,57 @@ shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" [email protected]: - version "0.7.8" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3" [email protected]: + version "0.8.2" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +shelljs@^0.8.1: + version "0.8.3" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" dependencies: glob "^7.0.0" interpret "^1.0.0" rechoir "^0.6.2" [email protected]: - version "4.0.5" - resolved "https://registry.yarnpkg.com/shot/-/shot-4.0.5.tgz#c7e7455d11d60f6b6cd3c43e15a3b431c17e5566" + version "4.0.7" + resolved "https://registry.yarnpkg.com/shot/-/shot-4.0.7.tgz#b05d2858634fedc18ece99e8f638fab7c9f9d4c4" dependencies: - hoek "5.x.x" - joi "13.x.x" + hoek "6.x.x" + joi "14.x.x" signal-exit@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" -slash@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" +slack-node@~0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/slack-node/-/slack-node-0.2.0.tgz#de4b8dddaa8b793f61dbd2938104fdabf37dfa30" + dependencies: + requestretry "^1.2.2" + +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + +smart-buffer@^1.0.4: + version "1.1.15" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-1.1.15.tgz#7f114b5b65fab3e2a35aa775bb12f0d1c649bf16" + +smart-buffer@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" + [email protected]: + version "2.12.0" + resolved "https://registry.yarnpkg.com/smtp-connection/-/smtp-connection-2.12.0.tgz#d76ef9127cb23c2259edb1e8349c2e8d5e2d74c1" + dependencies: + httpntlm "1.6.1" + nodemailer-shared "1.1.0" snapdragon-node@^2.0.1: version "2.1.1" @@ -4399,10 +5156,34 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" [email protected]: + version "1.0.9" + resolved "http://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" + dependencies: + hoek "2.x.x" + socket.io-adapter@~1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz#2a805e8a14d6372124dd9159ad4502f8cb07f06b" [email protected]: + version "2.0.4" + resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.0.4.tgz#0918a552406dc5e540b380dcd97afc4a64332f8e" + dependencies: + backo2 "1.0.2" + base64-arraybuffer "0.1.5" + component-bind "1.0.0" + component-emitter "1.2.1" + debug "~2.6.4" + engine.io-client "~3.1.0" + has-cors "1.1.0" + indexof "0.0.1" + object-component "0.0.3" + parseqs "0.0.5" + parseuri "0.0.5" + socket.io-parser "~3.1.1" + to-array "0.1.4" + [email protected]: version "2.1.1" resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.1.1.tgz#dcb38103436ab4578ddb026638ae2f21b623671f" @@ -4422,14 +5203,33 @@ [email protected]: socket.io-parser "~3.2.0" to-array "0.1.4" +socket.io-parser@~3.1.1: + version "3.1.3" + resolved "http://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.1.3.tgz#ed2da5ee79f10955036e3da413bfd7f1e4d86c8e" + dependencies: + component-emitter "1.2.1" + debug "~3.1.0" + has-binary2 "~1.0.2" + isarray "2.0.1" + socket.io-parser@~3.2.0: version "3.2.0" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.2.0.tgz#e7c6228b6aa1f814e6148aea325b51aa9499e077" + resolved "http://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz#e7c6228b6aa1f814e6148aea325b51aa9499e077" dependencies: component-emitter "1.2.1" debug "~3.1.0" isarray "2.0.1" [email protected]: + version "2.0.4" + resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.0.4.tgz#c1a4590ceff87ecf13c72652f046f716b29e6014" + dependencies: + debug "~2.6.6" + engine.io "~3.1.0" + socket.io-adapter "~1.1.0" + socket.io-client "2.0.4" + socket.io-parser "~3.1.1" + [email protected]: version "2.1.1" resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.1.1.tgz#a069c5feabee3e6b214a75b40ce0652e1cfb9980" @@ -4441,6 +5241,34 @@ [email protected]: socket.io-client "2.1.1" socket.io-parser "~3.2.0" +socks-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" + dependencies: + agent-base "~4.2.0" + socks "~2.2.0" + [email protected]: + version "1.1.9" + resolved "http://registry.npmjs.org/socks/-/socks-1.1.9.tgz#628d7e4d04912435445ac0b6e459376cb3e6d691" + dependencies: + ip "^1.1.2" + smart-buffer "^1.0.4" + +socks@~2.2.0: + version "2.2.2" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.2.2.tgz#f061219fc2d4d332afb4af93e865c84d3fa26e2b" + dependencies: + ip "^1.1.5" + smart-buffer "^4.0.1" + [email protected]: + version "2.0.0" + resolved "https://registry.yarnpkg.com/somever/-/somever-2.0.0.tgz#7bdbed3bee8ece2c7c8a2e7d9a1c022bd98d6c89" + dependencies: + bounce "1.x.x" + hoek "6.x.x" + sorcery@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/sorcery/-/sorcery-0.10.0.tgz#8ae90ad7d7cb05fc59f1ab0c637845d5c15a52b7" @@ -4460,19 +5288,19 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.4.0, source-map-support@^0.4.2, source-map-support@~0.4.0: [email protected], source-map-support@^0.5.9: + version "0.5.9" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f" + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-support@^0.4.0, source-map-support@~0.4.0: version "0.4.18" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" dependencies: source-map "^0.5.6" -source-map-support@^0.5.0: - version "0.5.8" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.8.tgz#04f5581713a8a65612d0175fbf3a01f80a162613" - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map-url@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" @@ -4481,11 +5309,9 @@ [email protected], source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" -source-map@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" - dependencies: - amdefine ">=0.0.4" [email protected], source-map@^0.7.3: + version "0.7.3" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" source-map@^0.5.1, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3: version "0.5.7" @@ -4493,24 +5319,24 @@ source-map@^0.5.1, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3: source-map@~0.2.0: version "0.2.0" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" + resolved "http://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" dependencies: amdefine ">=0.0.4" -sourcemap-codec@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.1.tgz#c8fd92d91889e902a07aee392bdd2c5863958ba2" +sourcemap-codec@^1.3.0, sourcemap-codec@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" spdx-correct@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" + version "3.1.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" + version "2.2.0" + resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" spdx-expression-parse@^3.0.0: version "3.0.0" @@ -4520,8 +5346,8 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" + version "3.0.3" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -4543,21 +5369,20 @@ split@^1.0.0: sprintf-js@~1.0.2: version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + resolved "http://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" sshpk@^1.7.0: - version "1.14.2" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.2.tgz#c6fc61648a3d9c4e764fd3fcdf4ea105e492ba98" + version "1.15.2" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.15.2.tgz#c946d6bd9b1a39d0e8635763f5242d6ed6dcb629" dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" - dashdash "^1.12.0" - getpass "^0.1.1" - safer-buffer "^2.0.2" - optionalDependencies: bcrypt-pbkdf "^1.0.0" + dashdash "^1.12.0" ecc-jsbn "~0.1.1" + getpass "^0.1.1" jsbn "~0.1.0" + safer-buffer "^2.0.2" tweetnacl "~0.14.0" standard-version@^4.3.0: @@ -4574,15 +5399,15 @@ standard-version@^4.3.0: yargs "^8.0.1" [email protected]: - version "6.0.6" - resolved "https://registry.yarnpkg.com/statehood/-/statehood-6.0.6.tgz#0dbd7c50774d3f61a24e42b0673093bbc81fa5f0" + version "6.0.8" + resolved "https://registry.yarnpkg.com/statehood/-/statehood-6.0.8.tgz#c8c3363694b207ab692d17ab5b48eebf47e13e10" dependencies: boom "7.x.x" bounce "1.x.x" cryptiles "4.x.x" - hoek "5.x.x" + hoek "6.x.x" iron "5.x.x" - joi "13.x.x" + joi "14.x.x" static-extend@^0.1.1: version "0.1.2" @@ -4591,7 +5416,7 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -"statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2": +"statuses@>= 1.4.0 < 2": version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" @@ -4605,14 +5430,14 @@ statuses@~1.4.0: stream-browserify@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" + resolved "http://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" dependencies: inherits "~2.0.1" readable-stream "^2.0.2" stream-http@^2.7.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.2.tgz#4126e8c6b107004465918aa2fc35549e77402c87" + version "2.8.3" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" dependencies: builtin-status-codes "^3.0.0" inherits "^2.0.1" @@ -4640,7 +5465,7 @@ streamroller@^0.4.0: string-width@^1.0.1: version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + resolved "http://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" dependencies: code-point-at "^1.0.0" is-fullwidth-code-point "^1.0.0" @@ -4653,19 +5478,29 @@ string-width@^1.0.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string_decoder@^1.0.3, string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" +string_decoder@^1.0.3: + version "1.2.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" dependencies: safe-buffer "~5.1.0" string_decoder@~0.10.x: version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + resolved "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + dependencies: + safe-buffer "~5.1.0" + +stringstream@~0.0.4: + version "0.0.6" + resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + resolved "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" dependencies: ansi-regex "^2.0.0" @@ -4687,7 +5522,7 @@ strip-bom@^3.0.0: strip-eof@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" + resolved "http://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" strip-indent@^1.0.1: version "1.0.1" @@ -4704,12 +5539,12 @@ strip-json-comments@^2.0.0, strip-json-comments@^2.0.1, strip-json-comments@~2.0 resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" [email protected]: - version "6.0.7" - resolved "https://registry.yarnpkg.com/subtext/-/subtext-6.0.7.tgz#8e40a67901a734d598142665c90e398369b885f9" + version "6.0.11" + resolved "https://registry.yarnpkg.com/subtext/-/subtext-6.0.11.tgz#430de749b06fc5005d208ffd2668b5c7a1ca27ac" dependencies: boom "7.x.x" content "4.x.x" - hoek "5.x.x" + hoek "6.x.x" pez "4.x.x" wreck "14.x.x" @@ -4724,8 +5559,8 @@ supports-color@^3.1.0: has-flag "^1.0.0" supports-color@^5.3.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" dependencies: has-flag "^3.0.0" @@ -4735,43 +5570,59 @@ [email protected]: dependencies: when "^3.7.5" +tar-stream@^1.5.0: + version "1.6.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" + dependencies: + bl "^1.0.0" + buffer-alloc "^1.2.0" + end-of-stream "^1.0.0" + fs-constants "^1.0.0" + readable-stream "^2.3.0" + to-buffer "^1.1.1" + xtend "^4.0.0" + tar@^4: - version "4.4.2" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.2.tgz#60685211ba46b38847b1ae7ee1a24d744a2cd462" + version "4.4.8" + resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" dependencies: - chownr "^1.0.1" + chownr "^1.1.1" fs-minipass "^1.2.5" - minipass "^2.2.4" - minizlib "^1.1.0" + minipass "^2.3.4" + minizlib "^1.1.1" mkdirp "^0.5.0" safe-buffer "^5.1.2" yallist "^3.0.2" [email protected]: - version "3.0.1" - resolved "https://registry.yarnpkg.com/teamwork/-/teamwork-3.0.1.tgz#ff38c7161f41f8070b7813716eb6154036ece196" + version "3.0.3" + resolved "https://registry.yarnpkg.com/teamwork/-/teamwork-3.0.3.tgz#0c08748efe00c32c1eaf1128ef7f07ba0c7cc4ea" text-extensions@^1.0.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39" + version "1.9.0" + resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" [email protected]: version "2.0.1" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.1.tgz#384e75314d49f32de12eebb8136b8eb6b5d59da9" + resolved "http://registry.npmjs.org/through2/-/through2-2.0.1.tgz#384e75314d49f32de12eebb8136b8eb6b5d59da9" dependencies: readable-stream "~2.0.0" xtend "~4.0.0" through2@^2.0.0, through2@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" + version "2.0.5" + resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" dependencies: - readable-stream "^2.1.5" + readable-stream "~2.3.6" xtend "~4.0.1" through@2, "through@>=2.2.7 <3": version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + resolved "http://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + +thunkify@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/thunkify/-/thunkify-2.1.2.tgz#faa0e9d230c51acc95ca13a361ac05ca7e04553d" timers-browserify@^2.0.2: version "2.0.10" @@ -4779,6 +5630,10 @@ timers-browserify@^2.0.2: dependencies: setimmediate "^1.0.4" [email protected]: + version "2.3.0" + resolved "https://registry.yarnpkg.com/timespan/-/timespan-2.3.0.tgz#4902ce040bd13d845c8f59b27e9d59bad6f39929" + [email protected]: version "0.0.29" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0" @@ -4805,6 +5660,10 @@ to-arraybuffer@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" +to-buffer@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" + to-object-path@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" @@ -4828,10 +5687,16 @@ to-regex@^3.0.1, to-regex@^3.0.2: safe-regex "^1.1.0" [email protected]: - version "3.0.0" - resolved "https://registry.yarnpkg.com/topo/-/topo-3.0.0.tgz#37e48c330efeac784538e0acd3e62ca5e231fe7a" + version "3.0.3" + resolved "https://registry.yarnpkg.com/topo/-/topo-3.0.3.tgz#d5a67fb2e69307ebeeb08402ec2a2a6f5f7ad95c" + dependencies: + hoek "6.x.x" + +tough-cookie@~2.3.0: + version "2.3.4" + resolved "http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" dependencies: - hoek "5.x.x" + punycode "^1.4.1" tough-cookie@~2.4.3: version "2.4.3" @@ -4882,31 +5747,21 @@ tsconfig@^6.0.0: strip-bom "^3.0.0" strip-json-comments "^2.0.0" [email protected]: - version "0.25.6" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.25.6.tgz#b595db16b236721824eeeda8bb262365b47ef334" - dependencies: - minimist "^1.2.0" - mkdirp "^0.5.1" - source-map "^0.5.6" - source-map-support "^0.4.2" - -tsickle@^0.29.0: - version "0.29.0" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.29.0.tgz#812806554bb46c1aa16eb0fe2a051da95ca8f5a4" [email protected]: + version "0.34.0" + resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.34.0.tgz#10187fa6401a288a65efb93a60bf28b2ff95f90b" dependencies: minimist "^1.2.0" mkdirp "^0.5.1" - source-map "^0.6.0" - source-map-support "^0.5.0" + source-map "^0.7.3" -tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.1.tgz#a5d1f0532a49221c87755cfcc89ca37197242ba7" [email protected], tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" tslint@^5.9.1: - version "5.11.0" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.11.0.tgz#98f30c02eae3cde7006201e4c33cb08b48581eed" + version "5.12.0" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.12.0.tgz#47f2dba291ed3d580752d109866fb640768fca36" dependencies: babel-code-frame "^6.22.0" builtin-modules "^1.1.1" @@ -4921,9 +5776,13 @@ tslint@^5.9.1: tslib "^1.8.0" tsutils "^2.27.2" [email protected]: - version "2.20.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.20.0.tgz#303394064bc80be8ee04e10b8609ae852e9312d3" +tsscmp@~1.0.0: + version "1.0.6" + resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb" + [email protected]: + version "2.27.2" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.27.2.tgz#60ba88a23d6f785ec4b89c6e8179cac9b431f1c7" dependencies: tslib "^1.8.1" @@ -4935,7 +5794,7 @@ tsutils@^2.21.2, tsutils@^2.27.2: [email protected]: version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" + resolved "http://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" tunnel-agent@^0.6.0: version "0.6.0" @@ -4943,6 +5802,10 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +tunnel-agent@~0.4.1: + version "0.4.3" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" + tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" @@ -4953,7 +5816,7 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" -type-is@~1.6.15, type-is@~1.6.16: +type-is@~1.6.16: version "1.6.16" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" dependencies: @@ -4964,15 +5827,11 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -"typescript@>=2.6.2 <2.10": - version "2.9.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c" - -typescript@~2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836" [email protected], typescript@~3.1.3: + version "3.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.6.tgz#b6543a83cfc8c2befb3f4c8fba6896f5b0c9be68" -uglify-js@^2.6, uglify-js@^2.8.14: +uglify-js@^2.8.14: version "2.8.29" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" dependencies: @@ -4981,11 +5840,11 @@ uglify-js@^2.6, uglify-js@^2.8.14: optionalDependencies: uglify-to-browserify "~1.0.0" -uglify-js@^3.0.9: - version "3.3.25" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.25.tgz#3266ccb87c5bea229f69041a0296010d6477d539" +uglify-js@^3.0.9, uglify-js@^3.1.4: + version "3.4.9" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" dependencies: - commander "~2.15.0" + commander "~2.17.1" source-map "~0.6.1" uglify-to-browserify@~1.0.0: @@ -4996,6 +5855,10 @@ ultron@~1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" +underscore@~1.7.0: + version "1.7.0" + resolved "http://registry.npmjs.org/underscore/-/underscore-1.7.0.tgz#6bbaf0877500d36be34ecaa584e0db9fef035209" + union-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" @@ -5024,9 +5887,9 @@ upath@^1.0.5: version "1.1.0" resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" -uri-js@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-3.0.2.tgz#f90b858507f81dea4dcfbb3c4c3dbfa2b557faaa" +uri-js@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" dependencies: punycode "^2.1.0" @@ -5034,6 +5897,13 @@ urix@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" +url-parse@~1.4.3: + version "1.4.4" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.4.tgz#cac1556e95faa0303691fec5cf9d5a1bc34648f8" + dependencies: + querystringify "^2.0.0" + requires-port "^1.0.0" + url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -5045,11 +5915,11 @@ use@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" [email protected]: - version "2.2.1" - resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.2.1.tgz#cf593ef4f2d175875e8bb658ea92e18a4fd06d8e" [email protected], useragent@^2.1.12: + version "2.3.0" + resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.3.0.tgz#217f943ad540cb2128658ab23fc960f6a88c9972" dependencies: - lru-cache "2.2.x" + lru-cache "4.1.x" tmp "0.0.x" util-deprecate@~1.0.1: @@ -5058,7 +5928,7 @@ util-deprecate@~1.0.1: [email protected]: version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" + resolved "http://registry.npmjs.org/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" dependencies: inherits "2.0.1" @@ -5076,9 +5946,13 @@ uuid@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" +uws@~9.14.0: + version "9.14.0" + resolved "https://registry.yarnpkg.com/uws/-/uws-9.14.0.tgz#fac8386befc33a7a3705cbd58dc47b430ca4dd95" + v8flags@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.1.0.tgz#246a34a8158c0e1390dcb758e1140e5d004e230b" + version "3.1.2" + resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.1.2.tgz#fc5cd0c227428181e6c29b2992e4f8f1da5e0c9f" dependencies: homedir-polyfill "^1.0.1" @@ -5089,6 +5963,10 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" [email protected]: + version "0.1.0" + resolved "https://registry.yarnpkg.com/vargs/-/vargs-0.1.0.tgz#6b6184da6520cc3204ce1b407cac26d92609ebff" + vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" @@ -5102,10 +5980,10 @@ [email protected]: extsprintf "^1.2.0" [email protected]: - version "3.0.0" - resolved "https://registry.yarnpkg.com/vise/-/vise-3.0.0.tgz#76ad14ab31669c50fbb0817bc0e72fedcbb3bf4c" + version "3.0.2" + resolved "https://registry.yarnpkg.com/vise/-/vise-3.0.2.tgz#9a8b7450f783aa776faa327fe47d7bfddb227266" dependencies: - hoek "5.x.x" + hoek "6.x.x" vlq@^0.2.2: version "0.2.3" @@ -5113,7 +5991,7 @@ vlq@^0.2.2: [email protected]: version "0.0.4" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" + resolved "http://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" dependencies: indexof "0.0.1" @@ -5127,9 +6005,21 @@ wcwidth@^1.0.1: dependencies: defaults "^1.0.3" [email protected]: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-2.0.0.tgz#b27fc1ed1afbf78f0ac57e4c878f31b10e57f146" +wd@^1.4.0: + version "1.11.1" + resolved "https://registry.yarnpkg.com/wd/-/wd-1.11.1.tgz#21a33e21977ad20522bb189f6529c3b55ac3862c" + dependencies: + archiver "2.1.1" + async "2.0.1" + lodash "4.17.11" + mkdirp "^0.5.1" + q "1.4.1" + request "2.88.0" + vargs "0.1.0" + [email protected]: + version "2.1.0" + resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz#57d7a93c00db4cc8d556e4d3db4b5db0a80c3bb7" dependencies: "@types/selenium-webdriver" "^3.0.0" selenium-webdriver "^3.0.1" @@ -5150,7 +6040,7 @@ webdriver-manager@^12.0.6: semver "^5.3.0" xml2js "^0.4.17" -when@^3.7.5: +when@^3.7.5, when@^3.7.7: version "3.7.8" resolved "https://registry.yarnpkg.com/when/-/when-3.7.8.tgz#c7130b6a7ea04693e842cdc9e7a1f2aa39a39f82" @@ -5178,6 +6068,10 @@ window-size@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" +with-callback@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/with-callback/-/with-callback-1.0.2.tgz#a09629b9a920028d721404fb435bdcff5c91bc21" + [email protected]: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" @@ -5192,7 +6086,7 @@ wordwrap@~0.0.2: wrap-ansi@^2.0.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + resolved "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" dependencies: string-width "^1.0.1" strip-ansi "^3.0.1" @@ -5202,11 +6096,11 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" [email protected]: - version "14.0.2" - resolved "https://registry.yarnpkg.com/wreck/-/wreck-14.0.2.tgz#89c17a9061c745ed1c3aebcb66ea181dbaab454c" + version "14.1.3" + resolved "https://registry.yarnpkg.com/wreck/-/wreck-14.1.3.tgz#d4db8258b38a568c363ef7d23034c4db598a9213" dependencies: boom "7.x.x" - hoek "5.x.x" + hoek "6.x.x" ws@~3.3.1: version "3.3.3" @@ -5229,15 +6123,15 @@ xml2js@^0.4.17: xmlbuilder@~9.0.1: version "9.0.7" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" + resolved "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" xmlhttprequest-ssl@~1.5.4: version "1.5.5" resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" [email protected]: - version "4.0.0" - resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020" [email protected]: + version "2.0.0" + resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943" xtend@^4.0.0, xtend@~4.0.0, xtend@~4.0.1: version "4.0.1" @@ -5256,14 +6150,15 @@ yallist@^2.1.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" yallist@^3.0.0, yallist@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" + version "3.0.3" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" -yargs-parser@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" +yargs-parser@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" dependencies: - camelcase "^4.1.0" + camelcase "^5.0.0" + decamelize "^1.2.0" yargs-parser@^7.0.0: version "7.0.0" @@ -5271,26 +6166,44 @@ yargs-parser@^7.0.0: dependencies: camelcase "^4.1.0" [email protected]: + version "9.0.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c" + dependencies: + camelcase "^4.1.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + read-pkg-up "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^7.0.0" + yargs@^12.0.1: - version "12.0.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.1.tgz#6432e56123bb4e7c3562115401e98374060261c2" + version "12.0.5" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" dependencies: cliui "^4.0.0" - decamelize "^2.0.0" + decamelize "^1.2.0" find-up "^3.0.0" get-caller-file "^1.0.1" - os-locale "^2.0.0" + os-locale "^3.0.0" require-directory "^2.1.1" require-main-filename "^1.0.1" set-blocking "^2.0.0" string-width "^2.0.0" which-module "^2.0.0" y18n "^3.2.1 || ^4.0.0" - yargs-parser "^10.1.0" + yargs-parser "^11.1.1" yargs@^3.10.0: version "3.32.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.32.0.tgz#03088e9ebf9e756b69751611d2a5ef591482c995" + resolved "http://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz#03088e9ebf9e756b69751611d2a5ef591482c995" dependencies: camelcase "^2.0.1" cliui "^3.0.3" @@ -5320,7 +6233,7 @@ yargs@^8.0.1: yargs@~3.10.0: version "3.10.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" + resolved "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" dependencies: camelcase "^1.0.2" cliui "^2.1.0" @@ -5328,8 +6241,8 @@ yargs@~3.10.0: window-size "0.1.0" yarn@^1.10.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.10.1.tgz#b792ba28f050ae94cd7e719dbca80639d70da76f" + version "1.12.3" + resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.12.3.tgz#fb4599bf1f8da01552bcc7e1571dfd4e53788203" [email protected]: version "0.1.2" @@ -5339,6 +6252,15 @@ yn@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" +zip-stream@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-1.2.0.tgz#a8bc45f4c1b49699c6b90198baacaacdbcd4ba04" + dependencies: + archiver-utils "^1.3.0" + compress-commons "^1.2.0" + lodash "^4.8.0" + readable-stream "^2.0.0" + zone.js@^0.8.26: version "0.8.26" resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.26.tgz#7bdd72f7668c5a7ad6b118148b4ea39c59d08d2d"
4ed1c4f42dec0ce337e31e642c79eb4d05317e8a
2021-05-05 21:19:22
Alan Agius
fix(@schematics/angular): replace `clientProject` with `project`
false
replace `clientProject` with `project`
fix
diff --git a/packages/schematics/angular/app-shell/index.ts b/packages/schematics/angular/app-shell/index.ts index bb31cace5efd..64c48a66ec57 100644 --- a/packages/schematics/angular/app-shell/index.ts +++ b/packages/schematics/angular/app-shell/index.ts @@ -153,7 +153,7 @@ function addAppShellConfigToWorkspace(options: AppShellOptions): Rule { } return updateWorkspace((workspace) => { - const project = workspace.projects.get(options.clientProject); + const project = workspace.projects.get(options.project); if (!project) { return; } @@ -187,8 +187,8 @@ function addAppShellConfigToWorkspace(options: AppShellOptions): Rule { } configurations[key] = { - browserTarget: `${options.clientProject}:build:${key}`, - serverTarget: `${options.clientProject}:server:${key}`, + browserTarget: `${options.project}:build:${key}`, + serverTarget: `${options.project}:server:${key}`, }; } @@ -239,7 +239,7 @@ function addServerRoutes(options: AppShellOptions): Rule { return async (host: Tree) => { // The workspace gets updated so this needs to be reloaded const workspace = await getWorkspace(host); - const clientProject = workspace.projects.get(options.clientProject); + const clientProject = workspace.projects.get(options.project); if (!clientProject) { throw new Error('Universal schematic removed client project.'); } @@ -309,7 +309,7 @@ function addShellComponent(options: AppShellOptions): Rule { const componentOptions: ComponentOptions = { name: 'app-shell', module: options.rootModuleFileName, - project: options.clientProject, + project: options.project, }; return schematic('component', componentOptions); @@ -318,7 +318,7 @@ function addShellComponent(options: AppShellOptions): Rule { export default function (options: AppShellOptions): Rule { return async (tree) => { const workspace = await getWorkspace(tree); - const clientProject = workspace.projects.get(options.clientProject); + const clientProject = workspace.projects.get(options.project); if (!clientProject || clientProject.extensions.projectType !== 'application') { throw new SchematicsException(`A client project type of "application" is required.`); } diff --git a/packages/schematics/angular/app-shell/schema.json b/packages/schematics/angular/app-shell/schema.json index 767eac1dd833..6b231b8b46d7 100644 --- a/packages/schematics/angular/app-shell/schema.json +++ b/packages/schematics/angular/app-shell/schema.json @@ -7,7 +7,7 @@ "additionalProperties": false, "long-description": "./app-shell-long.md", "properties": { - "clientProject": { + "project": { "type": "string", "description": "The name of the related client app.", "$default": { @@ -50,5 +50,5 @@ "default": "AppServerModule" } }, - "required": ["clientProject"] + "required": ["project"] } diff --git a/packages/schematics/angular/migrations/update-9/update-app-tsconfigs_spec.ts b/packages/schematics/angular/migrations/update-9/update-app-tsconfigs_spec.ts index d9f897131743..2de639a541b7 100644 --- a/packages/schematics/angular/migrations/update-9/update-app-tsconfigs_spec.ts +++ b/packages/schematics/angular/migrations/update-9/update-app-tsconfigs_spec.ts @@ -251,7 +251,7 @@ describe('Migration to version 9', () => { require.resolve('../../collection.json'), 'universal', { - clientProject: 'migration-test', + project: 'migration-test', }, tree, ) diff --git a/packages/schematics/angular/migrations/update-9/update-server-main-file_spec.ts b/packages/schematics/angular/migrations/update-9/update-server-main-file_spec.ts index 8978f378d50b..9dc703b0a0d0 100644 --- a/packages/schematics/angular/migrations/update-9/update-server-main-file_spec.ts +++ b/packages/schematics/angular/migrations/update-9/update-server-main-file_spec.ts @@ -52,7 +52,7 @@ describe('Migration to version 9', () => { require.resolve('../../collection.json'), 'universal', { - clientProject: 'migration-test', + project: 'migration-test', }, tree, ) diff --git a/packages/schematics/angular/migrations/update-9/update-workspace-config_spec.ts b/packages/schematics/angular/migrations/update-9/update-workspace-config_spec.ts index 65da56d551ce..a667646c8aba 100644 --- a/packages/schematics/angular/migrations/update-9/update-workspace-config_spec.ts +++ b/packages/schematics/angular/migrations/update-9/update-workspace-config_spec.ts @@ -300,7 +300,7 @@ describe('Migration to version 9', () => { require.resolve('../../collection.json'), 'universal', { - clientProject: 'migration-test', + project: 'migration-test', }, tree, ) diff --git a/packages/schematics/angular/universal/index.ts b/packages/schematics/angular/universal/index.ts index c4334ee2be65..6a1b38f49d61 100644 --- a/packages/schematics/angular/universal/index.ts +++ b/packages/schematics/angular/universal/index.ts @@ -33,7 +33,7 @@ import { Schema as UniversalOptions } from './schema'; function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): Rule { return updateWorkspace((workspace) => { - const clientProject = workspace.projects.get(options.clientProject); + const clientProject = workspace.projects.get(options.project); if (clientProject) { // In case the browser builder hashes the assets @@ -59,7 +59,7 @@ function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): R const buildTarget = clientProject.targets.get('build'); if (buildTarget?.options) { - buildTarget.options.outputPath = `dist/${options.clientProject}/browser`; + buildTarget.options.outputPath = `dist/${options.project}/browser`; } const buildConfigurations = buildTarget?.configurations; @@ -77,7 +77,7 @@ function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): R builder: Builders.Server, defaultConfiguration: 'production', options: { - outputPath: `dist/${options.clientProject}/server`, + outputPath: `dist/${options.project}/server`, main: join( normalize(clientProject.root), 'src', @@ -226,7 +226,7 @@ export default function (options: UniversalOptions): Rule { return async (host: Tree, context: SchematicContext) => { const workspace = await getWorkspace(host); - const clientProject = workspace.projects.get(options.clientProject); + const clientProject = workspace.projects.get(options.project); if (!clientProject || clientProject.extensions.projectType !== 'application') { throw new SchematicsException(`Universal requires a project type of "application".`); } diff --git a/packages/schematics/angular/universal/index_spec.ts b/packages/schematics/angular/universal/index_spec.ts index 78d6c93d42f3..d634dd66a5cd 100644 --- a/packages/schematics/angular/universal/index_spec.ts +++ b/packages/schematics/angular/universal/index_spec.ts @@ -19,10 +19,10 @@ describe('Universal Schematic', () => { require.resolve('../collection.json'), ); const defaultOptions: UniversalOptions = { - clientProject: 'bar', + project: 'bar', }; const workspaceUniversalOptions: UniversalOptions = { - clientProject: 'workspace', + project: 'workspace', }; const workspaceOptions: WorkspaceOptions = { diff --git a/packages/schematics/angular/universal/schema.json b/packages/schematics/angular/universal/schema.json index 7bc7c78a6070..577c1864c77a 100644 --- a/packages/schematics/angular/universal/schema.json +++ b/packages/schematics/angular/universal/schema.json @@ -6,9 +6,12 @@ "additionalProperties": false, "description": "Pass this schematic to the \"run\" command to set up server-side rendering for an app.", "properties": { - "clientProject": { + "project": { "type": "string", - "description": "The name of the related client app. Required in place of \"project\"." + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } }, "appId": { "type": "string", @@ -45,5 +48,5 @@ "default": false } }, - "required": ["clientProject"] + "required": ["project"] } diff --git a/tests/legacy-cli/e2e/tests/build/build-app-shell-with-schematic.ts b/tests/legacy-cli/e2e/tests/build/build-app-shell-with-schematic.ts index cacc9accb7ab..95ece32ea6f5 100644 --- a/tests/legacy-cli/e2e/tests/build/build-app-shell-with-schematic.ts +++ b/tests/legacy-cli/e2e/tests/build/build-app-shell-with-schematic.ts @@ -8,7 +8,7 @@ const snapshots = require('../../ng-snapshot/package.json'); export default async function () { await appendToFile('src/app/app.component.html', '<router-outlet></router-outlet>'); - await ng('generate', 'appShell', '--client-project', 'test-project'); + await ng('generate', 'appShell', '--project', 'test-project'); const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots']; if (isSnapshotBuild) { diff --git a/tests/legacy-cli/e2e/tests/build/platform-server.ts b/tests/legacy-cli/e2e/tests/build/platform-server.ts index 5169ca644293..0afb776366fb 100644 --- a/tests/legacy-cli/e2e/tests/build/platform-server.ts +++ b/tests/legacy-cli/e2e/tests/build/platform-server.ts @@ -8,7 +8,7 @@ import { updateJsonFile } from '../../utils/project'; const snapshots = require('../../ng-snapshot/package.json'); export default async function () { - await ng('generate', 'universal', '--client-project', 'test-project'); + await ng('generate', 'universal', '--project', 'test-project'); const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots']; if (isSnapshotBuild) { @@ -48,7 +48,10 @@ export default async function () { await ng('run', 'test-project:server', '--optimization', 'false'); - await expectFileToMatch('dist/test-project/server/main.js', /exports.*AppServerModule|"AppServerModule":/); + await expectFileToMatch( + 'dist/test-project/server/main.js', + /exports.*AppServerModule|"AppServerModule":/, + ); await exec(normalize('node'), 'dist/test-project/server/main.js'); await expectFileToMatch( 'dist/test-project/server/index.html', diff --git a/tests/legacy-cli/e2e/tests/generate/schematic-defaults.ts b/tests/legacy-cli/e2e/tests/generate/schematic-defaults.ts index b4126339c3d1..7e015a0d6638 100644 --- a/tests/legacy-cli/e2e/tests/generate/schematic-defaults.ts +++ b/tests/legacy-cli/e2e/tests/generate/schematic-defaults.ts @@ -13,7 +13,6 @@ export default async function () { // Generate component in application to verify that it's minimal const { stdout } = await ng('generate', 'component', 'foo'); if (!stdout.includes('foo.component.scss')) { - console.log(stdout); throw new Error('Expected "foo.component.scss" to exist.'); } @@ -36,7 +35,6 @@ export default async function () { 'test-project-two', ); if (!stdout2.includes('foo.component.less')) { - console.log(stdout2); throw new Error('Expected "foo.component.less" to exist.'); } } diff --git a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-app-shell.ts b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-app-shell.ts index c60aa1446d85..5f72c6dd7470 100644 --- a/tests/legacy-cli/e2e/tests/i18n/ivy-localize-app-shell.ts +++ b/tests/legacy-cli/e2e/tests/i18n/ivy-localize-app-shell.ts @@ -21,7 +21,7 @@ export default async function () { const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots']; - await updateJsonFile('package.json', packageJson => { + await updateJsonFile('package.json', (packageJson) => { const dependencies = packageJson['dependencies']; dependencies['@angular/localize'] = isSnapshotBuild ? snapshots.dependencies['@angular/localize'] @@ -29,10 +29,10 @@ export default async function () { }); await appendToFile('src/app/app.component.html', '<router-outlet></router-outlet>'); - await ng('generate', 'appShell', '--client-project', 'test-project'); + await ng('generate', 'appShell', '--project', 'test-project'); if (isSnapshotBuild) { - await updateJsonFile('package.json', packageJson => { + await updateJsonFile('package.json', (packageJson) => { const dependencies = packageJson['dependencies']; dependencies['@angular/platform-server'] = snapshots.dependencies['@angular/platform-server']; dependencies['@angular/router'] = snapshots.dependencies['@angular/router']; @@ -49,7 +49,7 @@ export default async function () { { lang: 'fr', translation: 'Bonjour i18n!' }, ]; - await updateJsonFile('angular.json', workspaceJson => { + await updateJsonFile('angular.json', (workspaceJson) => { const appProject = workspaceJson.projects['test-project']; const appArchitect = appProject.architect || appProject.targets; const buildOptions = appArchitect['build'].options; @@ -111,10 +111,7 @@ export default async function () { // Clean up app.component.html so that we can easily // find the translation text - await writeFile( - 'src/app/app.component.html', - '<router-outlet></router-outlet>', - ); + await writeFile('src/app/app.component.html', '<router-outlet></router-outlet>'); for (const { lang, translation } of langTranslations) { if (lang != 'en-US') {
ba414abec3944b56d2b8500aa5de10370edfe6c4
2016-10-20 19:23:02
Stefan Baramov
feat(ssl): add support for the ssl options of the ng serve task: --ssl, --ssl-cert, and --ssl-key (#2792)
false
add support for the ssl options of the ng serve task: --ssl, --ssl-cert, and --ssl-key (#2792)
feat
diff --git a/packages/angular-cli/custom-typings.d.ts b/packages/angular-cli/custom-typings.d.ts index 5f17ab354124..224c2e974ee0 100644 --- a/packages/angular-cli/custom-typings.d.ts +++ b/packages/angular-cli/custom-typings.d.ts @@ -17,6 +17,9 @@ interface IWebpackDevServerConfigurationOptions { headers?: { [key: string]: string }; stats?: { [key: string]: boolean }; inline: boolean; + https?: boolean; + key?: string; + cert?: string; } interface WebpackProgressPluginOutputOptions { diff --git a/packages/angular-cli/tasks/serve-webpack.ts b/packages/angular-cli/tasks/serve-webpack.ts index b7234b6a02b6..9c2e0a6229ad 100644 --- a/packages/angular-cli/tasks/serve-webpack.ts +++ b/packages/angular-cli/tasks/serve-webpack.ts @@ -52,6 +52,19 @@ export default Task.extend({ } } + let sslKey: string = null; + let sslCert: string = null; + if (commandOptions.ssl) { + const keyPath = path.resolve(this.project.root, commandOptions.sslKey); + if (fs.existsSync(keyPath)) { + sslKey = fs.readFileSync(keyPath, 'utf-8'); + } + const certPath = path.resolve(this.project.root, commandOptions.sslCert); + if (fs.existsSync(certPath)) { + sslCert = fs.readFileSync(certPath, 'utf-8'); + } + } + const webpackDevServerConfiguration: IWebpackDevServerConfigurationOptions = { contentBase: path.resolve( this.project.root, @@ -66,13 +79,19 @@ export default Task.extend({ compress: commandOptions.target === 'production', watchOptions: { poll: CliConfig.fromProject().config.defaults.poll - } + }, + https: commandOptions.ssl }; + if (sslKey != null && sslCert != null) { + webpackDevServerConfiguration.key = sslKey; + webpackDevServerConfiguration.cert = sslCert; + } + ui.writeLine(chalk.green(oneLine` ** NG Live Development Server is running on - http://${commandOptions.host}:${commandOptions.port}. + http${commandOptions.ssl ? 's' : ''}://${commandOptions.host}:${commandOptions.port}. ** `)); diff --git a/tests/e2e/assets/ssl/server.crt b/tests/e2e/assets/ssl/server.crt new file mode 100644 index 000000000000..6891c4c67573 --- /dev/null +++ b/tests/e2e/assets/ssl/server.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIID5jCCAs6gAwIBAgIJAJOebwfGCm61MA0GCSqGSIb3DQEBBQUAMFUxCzAJBgNV +BAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAwDgYDVQQHEwdBdGxhbnRhMRAwDgYD +VQQKEwdBbmd1bGFyMRAwDgYDVQQLEwdBbmd1bGFyMB4XDTE2MTAwNDAxMDAyMVoX +DTI2MTAwMjAxMDAyMVowVTELMAkGA1UEBhMCVVMxEDAOBgNVBAgTB0dlb3JnaWEx +EDAOBgNVBAcTB0F0bGFudGExEDAOBgNVBAoTB0FuZ3VsYXIxEDAOBgNVBAsTB0Fu +Z3VsYXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDT6Q4d1+mw81SC +4K1qLbsMn4O459XDiDDU/cGBiE0byqi6RpaB0MujCPn35xdeCf1mdDw929leEIRB +w/fCN3VwE+4ZDM7sF6SgoSDN8YT/OOush4tDu0djH110I+i1Bfg4m7gVkUnJLUCv +vMMOlD19LDqqaxdY3ojXx8gZJW9sNtUH2vCICwsZ7aNZp2NcCNKpU7LppP4IomCd +GfG501kY/UtELVgNGX+zuJwIiH/2AQZ+fsaDBBD0Azanck2M/aq5yVKMG8y/S5WP +7LMvZs8ZHPSG73QINogRTYW0EKx7nT87vmrHRtCc9u4coPdqOzQN9BigCYVkYrTv +xkOX9VDHAgMBAAGjgbgwgbUwHQYDVR0OBBYEFG4VV6/aNLx/qFIS9MhAWuyeV5OX +MIGFBgNVHSMEfjB8gBRuFVev2jS8f6hSEvTIQFrsnleTl6FZpFcwVTELMAkGA1UE +BhMCVVMxEDAOBgNVBAgTB0dlb3JnaWExEDAOBgNVBAcTB0F0bGFudGExEDAOBgNV +BAoTB0FuZ3VsYXIxEDAOBgNVBAsTB0FuZ3VsYXKCCQCTnm8HxgputTAMBgNVHRME +BTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQDO4jZT/oKVxaiWr+jV5TD+qwThl9zT +Uw/ZpFDkdbZdY/baCFaLCiJwkK9+puMOabLvm1VzcnHHWCoiUNbWpw8AOumLEnTv +ze/5OZXJ6XlA9kd9f3hDlN5zNB3S+Z2nKIrkPGfxQZ603QCbWaptip5dxgek6oDZ +YXVtnbOnPznRsG5jh07U49RO8CNebqZLzdRToLgObbqYlfRMcbUxCOHXjnB5wUlp +377Iivm4ldnCTvFOjEiDh+FByWL5xic7PjyJPZFMidiYTmsGilP9XTFC83CRZwz7 +vW+RCSlU6x8Uejz98BPmASoqCuCTUeOo+2pFelFhX9NwR/Sb6b7ybdPv +-----END CERTIFICATE----- diff --git a/tests/e2e/assets/ssl/server.key b/tests/e2e/assets/ssl/server.key new file mode 100644 index 000000000000..e0e0af0f8da8 --- /dev/null +++ b/tests/e2e/assets/ssl/server.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA0+kOHdfpsPNUguCtai27DJ+DuOfVw4gw1P3BgYhNG8qoukaW +gdDLowj59+cXXgn9ZnQ8PdvZXhCEQcP3wjd1cBPuGQzO7BekoKEgzfGE/zjrrIeL +Q7tHYx9ddCPotQX4OJu4FZFJyS1Ar7zDDpQ9fSw6qmsXWN6I18fIGSVvbDbVB9rw +iAsLGe2jWadjXAjSqVOy6aT+CKJgnRnxudNZGP1LRC1YDRl/s7icCIh/9gEGfn7G +gwQQ9AM2p3JNjP2quclSjBvMv0uVj+yzL2bPGRz0hu90CDaIEU2FtBCse50/O75q +x0bQnPbuHKD3ajs0DfQYoAmFZGK078ZDl/VQxwIDAQABAoIBAEl17kXcNo/4GqDw +QE2hoslCdwhfnhQVn1AG09ESriBnRcylccF4308aaoVM4CXicqzUuJl9IEJimWav +B7GVRinfTtfyP71KiPCCSvv5sPBFDDYYGugVAS9UjTIYzLAMbLs7CDq5zglmnZkO +Z9QjAZnl/kRbsZFGO8wJ3s0Q1Cp/ygZcvFU331K2jHXW7B4YXiFOH/lBQrjdz0Gy +WBjX4zIdNWnwarvxu46IS/0z1P1YOHM8+B1Uv54MG94A6szBdd/Vp0cQRs78t/Cu +BQ1Rnuk16Pi+ieC5K04yUgeuNusYW0PWLtPX1nKNp9z46bmD1NHKAxaoDFXr7qP3 +pZCaDMkCgYEA8mmTYrhXJTRIrOxoUwM1e3OZ0uOxVXJJ8HF6X8t+UO6dFxXB/JC9 +ZBc+94cZQapaKFOeMmd/j3L2CQIjChk5yKV/G3Io+raxIoAAKPCkMF4NQQVvvNkS +CAGl61Qa78DoF5Habumz0AC1R9P877kNTC0aPSt4lhPWgfotbZNNMlMCgYEA38nM +s4a0pZseXPkuOtPYX/3Ms3E+d70XKSFuIMCHCg79YGsQ8h/9apYcPyeYkpQ0a4gs +I3IUqMaXC2OyqWA5LU1BZv51mXb6zcb2pokZfpiSWk+7sy5XjkE9EmQxp3xHfV3c +EO/DxHfWNvtMjESMbhu0yVzM2O/Aa53Tl9lqAT0CgYEA1dXBuHyqCtyTG08zO78B +55Ny5rAJ1zkI9jvz2hr0o0nJcvqzcyruliNXXRxkcCNoglg4nXfk81JSrGGhLSBR +c6hhdoF+mqKboLZO7c5Q14WvpWK5TVoiaMOja/J2DHYbhecYS2yGPH7TargaUBDq +JP9IPRtitOhs+Z0Jg7ZDi5cCgYAMb7B6gY/kbBxh2k8hYchyfS41AqQQD2gMFxmB +pHFcs7yM8SY97l0s4S6sq8ykyKupFiYtyhcv0elu7pltJDXJOLPbv2RVpPEHInlu +g8vw5xWrAydRK9Adza5RKVRBFHz8kIy8PDbK4kX7RDfay6xqKgv/7LJNk/VDhb/O +fnyPmQKBgQDg/o8Ubf/gxA9Husnuld4DBu3wwFhkMlWqyO9QH3cKgojQ2JGSrfDz +xHhetmhionEyzg0JCaMSpzgIHY+8o/NAwc++OjNHEoYp3XWM9GTp81ROMz6b83jV +biVR9N0MhONdwF6vtzDCcJxNIUe2p4lTvLf/Xd9jaQDNXe35Gxsdyg== +-----END RSA PRIVATE KEY----- diff --git a/tests/e2e/tests/misc/ssl-default.ts b/tests/e2e/tests/misc/ssl-default.ts new file mode 100644 index 000000000000..e16ec54291c9 --- /dev/null +++ b/tests/e2e/tests/misc/ssl-default.ts @@ -0,0 +1,16 @@ +import { request } from '../../utils/http'; +import { killAllProcesses } from '../../utils/process'; +import { ngServe } from '../../utils/project'; + + +export default function() { + return Promise.resolve() + .then(() => ngServe('--ssl', 'true')) + .then(() => request('https://localhost:4200/')) + .then(body => { + if (!body.match(/<app-root>Loading...<\/app-root>/)) { + throw new Error('Response does not match expected value.'); + } + }) + .then(() => killAllProcesses(), (err) => { killAllProcesses(); throw err; }); +} diff --git a/tests/e2e/tests/misc/ssl-with-cert.ts b/tests/e2e/tests/misc/ssl-with-cert.ts new file mode 100644 index 000000000000..3930c91625fb --- /dev/null +++ b/tests/e2e/tests/misc/ssl-with-cert.ts @@ -0,0 +1,22 @@ +import { request } from '../../utils/http'; +import { assetDir } from '../../utils/assets'; +import { killAllProcesses } from '../../utils/process'; +import { ngServe } from '../../utils/project'; + + +export default function() { + return Promise.resolve() + .then(() => ngServe( + '--ssl', 'true', + '--ssl-key', assetDir('ssl/server.key'), + '--ssl-cert', assetDir('ssl/server.crt') + )) + .then(() => request('https://localhost:4200/')) + .then(body => { + if (!body.match(/<app-root>Loading...<\/app-root>/)) { + throw new Error('Response does not match expected value.'); + } + }) + .then(() => killAllProcesses(), (err) => { killAllProcesses(); throw err; }); + +} diff --git a/tests/e2e/utils/http.ts b/tests/e2e/utils/http.ts index 565beaf4f3d5..fba900c7e6e0 100644 --- a/tests/e2e/utils/http.ts +++ b/tests/e2e/utils/http.ts @@ -4,11 +4,12 @@ import * as _request from 'request'; export function request(url: string): Promise<string> { return new Promise((resolve, reject) => { - _request(url, (error: any, response: IncomingMessage, body: string) => { + let options = { url: url, agentOptions: { rejectUnauthorized: false }}; + _request(options, (error: any, response: IncomingMessage, body: string) => { if (error) { reject(error); } else if (response.statusCode >= 400) { - reject(new Error(`Requesting "${url}" returned status code ${response.statusCode}.`); + reject(new Error(`Requesting "${url}" returned status code ${response.statusCode}.`)); } else { resolve(body); }
f81c65933ff2a1dda9aa363ee9447d9446b963e9
2022-09-07 14:14:23
Alan Agius
release: bump the next branch to v14.3.0-next.0
false
bump the next branch to v14.3.0-next.0
release
diff --git a/package.json b/package.json index e513538d90d3..eb5018e7b51b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nguniversal", "main": "index.js", - "version": "14.2.0-next.0", + "version": "14.3.0-next.0", "private": true, "description": "Universal (isomorphic) JavaScript support for Angular", "homepage": "https://github.com/angular/universal",
21d29fbb3d20eeca60456de59a2812ee0f072fd1
2019-08-15 06:24:01
Simon Jespersen
docs: update CONTRIBUTING.md to reflect default PR branch (#15331)
false
update CONTRIBUTING.md to reflect default PR branch (#15331)
docs
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6072228db9a3..7e1dd2ada6fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,7 +106,7 @@ Before you submit your Pull Request (PR) consider the following guidelines: git push origin my-fix-branch ``` -* In GitHub, send a pull request to `devkit:master`. +* In GitHub, send a pull request to `angular/angular-cli:master`. * If we suggest changes then: * Make the required updates. * Re-run the Angular DevKit test suites to ensure tests are still passing. diff --git a/scripts/templates/contributing.ejs b/scripts/templates/contributing.ejs index 0690555ada9f..d5dba1bbdd47 100644 --- a/scripts/templates/contributing.ejs +++ b/scripts/templates/contributing.ejs @@ -106,7 +106,7 @@ Before you submit your Pull Request (PR) consider the following guidelines: git push origin my-fix-branch ``` -* In GitHub, send a pull request to `devkit:master`. +* In GitHub, send a pull request to `angular/angular-cli:master`. * If we suggest changes then: * Make the required updates. * Re-run the Angular DevKit test suites to ensure tests are still passing.
40601c46e789615a7c200959619eebed7f613e8c
2019-08-13 02:24:09
Stefanie Fluin
feat(@schematics/angular): cli app redesign (#14403)
false
cli app redesign (#14403)
feat
diff --git a/packages/schematics/angular/application/files/src/favicon.ico.template b/packages/schematics/angular/application/files/src/favicon.ico.template index 8081c7ceaf2b..997406ad22c2 100644 Binary files a/packages/schematics/angular/application/files/src/favicon.ico.template and b/packages/schematics/angular/application/files/src/favicon.ico.template differ diff --git a/packages/schematics/angular/application/files/src/index.html.template b/packages/schematics/angular/application/files/src/index.html.template index 63b8497cace2..8a7c648e38c0 100644 --- a/packages/schematics/angular/application/files/src/index.html.template +++ b/packages/schematics/angular/application/files/src/index.html.template @@ -4,7 +4,6 @@ <meta charset="utf-8"> <title><%= utils.classify(name) %></title> <base href="/"> - <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> diff --git a/packages/schematics/angular/application/other-files/app.component.html.template b/packages/schematics/angular/application/other-files/app.component.html.template index d64e4d22d343..71078b9d20bb 100644 --- a/packages/schematics/angular/application/other-files/app.component.html.template +++ b/packages/schematics/angular/application/other-files/app.component.html.template @@ -1,21 +1,504 @@ -<!--The content below is only a placeholder and can be replaced.--> -<div style="text-align:center"> - <h1> - Welcome to {{ title }}! - </h1> - <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * * * * * * * * * * * The content below * * * * * * * * * * * --> +<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> +<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * * * * * * * * * Delete the template below * * * * * * * * * * --> +<!-- * * * * * * * to get started with your project! * * * * * * * * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> + +<style> + :host { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 14px; + color: #333; + box-sizing: border-box; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + margin: 8px 0; + } + + p { + margin: 0; + } + + .toolbar { + height: 60px; + margin: -8px; + display: flex; + align-items: center; + background-color: #1976d2; + color: white; + font-weight: 600; + } + + .toolbar img { + margin: 0 16px; + } + + .content { + display: flex; + margin: 32px auto; + padding: 0 16px; + max-width: 960px; + flex-direction: column; + align-items: center; + } + + svg.material-icons { + height: 24px; + width: auto; + } + + svg.material-icons:not(:last-child) { + margin-right: 8px; + } + + .card svg.material-icons path { + fill: #888; + } + + .card-container { + display: flex; + flex-wrap: wrap; + justify-content: center; + margin-top: 16px; + } + + .card { + border-radius: 4px; + border: 1px solid #eee; + background-color: #fafafa; + height: 40px; + width: 200px; + margin: 0 8px 16px; + padding: 16px; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + transition: all 0.2s ease-in-out; + line-height: 24px; + } + + .card-container .card:not(:last-child) { + margin-right: 0; + } + + .card.card-small { + height: 16px; + width: 168px; + } + + .card-container .card:not(.highlight-card) { + cursor: pointer; + } + + .card-container .card:not(.highlight-card):hover { + transform: translateY(-3px); + box-shadow: 0 4px 17px rgba(black, 0.35); + } + + .card-container .card:not(.highlight-card):hover .material-icons path { + fill: rgb(105, 103, 103); + } + + .card.highlight-card { + background-color: #1976d2; + color: white; + font-weight: 600; + border: none; + width: auto; + min-width: 30%; + position: relative; + } + + .card.card.highlight-card span { + margin-left: 60px; + } + + svg#rocket { + width: 80px; + position: absolute; + left: -10px; + top: -24px; + } + + svg#rocket-smoke { + height: 100vh; + position: absolute; + top: 10px; + right: 180px; + z-index: -10; + } + + a, + a:visited, + a:hover { + color: #1976d2; + text-decoration: none; + } + + a:hover { + color: #125699; + } + + .terminal { + position: relative; + width: 80%; + max-width: 600px; + border-radius: 6px; + padding-top: 45px; + margin-top: 8px; + overflow: hidden; + background-color: rgb(15, 15, 16); + } + + .terminal::before { + content: "\2022 \2022 \2022"; + position: absolute; + top: 0; + left: 0; + height: 4px; + background: rgb(58, 58, 58); + color: #c2c3c4; + width: 100%; + font-size: 2rem; + line-height: 0; + padding: 14px 0; + text-indent: 4px; + } + + .terminal pre { + font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; + color: white; + padding: 0 1rem 1rem; + margin: 0; + } + + .circle-link { + height: 40px; + width: 40px; + border-radius: 40px; + margin: 8px; + background-color: white; + border: 1px solid #eeeeee; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + transition: 1s ease-out; + } + + .circle-link:hover { + transform: translateY(-0.25rem); + box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2); + } + + footer { + margin-top: 8px; + display: flex; + align-items: center; + line-height: 20px; + } + + footer a { + display: flex; + align-items: center; + } + + .github-star-badge { + color: #24292e; + display: flex; + align-items: center; + font-size: 12px; + padding: 3px 10px; + border: 1px solid rgba(27,31,35,.2); + border-radius: 3px; + background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%); + margin-left: 4px; + font-weight: 600; + font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; + } + + .github-star-badge:hover { + background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%); + border-color: rgba(27,31,35,.35); + background-position: -.5em; + } + + .github-star-badge .material-icons { + height: 16px; + width: 16px; + margin-right: 4px; + } + + svg#clouds { + position: fixed; + bottom: -160px; + left: -230px; + z-index: -10; + width: 1920px; + } + + + /* Responsive Styles */ + @media screen and (max-width: 767px) { + + .card-container > *:not(.circle-link) , + .terminal { + width: 100%; + } + + .card:not(.highlight-card) { + height: 16px; + margin: 8px 0; + } + + .card.highlight-card span { + margin-left: 72px; + } + + svg#rocket-smoke { + right: 120px; + transform: rotate(-5deg); + } + } + + @media screen and (max-width: 575px) { + svg#rocket-smoke { + display: none; + visibility: hidden; + } + } +</style> + +<!-- Toolbar --> +<div class="toolbar" role="banner"> + <img + width="40" + alt="Angular Logo" + src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==" + /> + <span>Welcome</span> </div> -<h2>Here are some links to help you start: </h2> -<ul> - <li> - <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2> - </li> - <li> - <h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2> - </li> - <li> - <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2> - </li> -</ul> + +<div class="content" role="main"> + + <!-- Highlight Card --> + <div class="card highlight-card card-small"> + + <svg id="rocket" alt="Rocket Ship" xmlns="http://www.w3.org/2000/svg" width="101.678" height="101.678" viewBox="0 0 101.678 101.678"> + <g id="Group_83" data-name="Group 83" transform="translate(-141 -696)"> + <circle id="Ellipse_8" data-name="Ellipse 8" cx="50.839" cy="50.839" r="50.839" transform="translate(141 696)" fill="#dd0031"/> + <g id="Group_47" data-name="Group 47" transform="translate(165.185 720.185)"> + <path id="Path_33" data-name="Path 33" d="M3.4,42.615a3.084,3.084,0,0,0,3.553,3.553,21.419,21.419,0,0,0,12.215-6.107L9.511,30.4A21.419,21.419,0,0,0,3.4,42.615Z" transform="translate(0.371 3.363)" fill="#fff"/> + <path id="Path_34" data-name="Path 34" d="M53.3,3.221A3.09,3.09,0,0,0,50.081,0,48.227,48.227,0,0,0,18.322,13.437c-6-1.666-14.991-1.221-18.322,7.218A33.892,33.892,0,0,1,9.439,25.1l-.333.666a3.013,3.013,0,0,0,.555,3.553L23.985,43.641a2.9,2.9,0,0,0,3.553.555l.666-.333A33.892,33.892,0,0,1,32.647,53.3c8.55-3.664,8.884-12.326,7.218-18.322A48.227,48.227,0,0,0,53.3,3.221ZM34.424,9.772a6.439,6.439,0,1,1,9.106,9.106,6.368,6.368,0,0,1-9.106,0A6.467,6.467,0,0,1,34.424,9.772Z" transform="translate(0 0.005)" fill="#fff"/> + </g> + </g> + </svg> + + <span>{{ title }} app is running!</span> + + <svg id="rocket-smoke" alt="Rocket Ship Smoke" xmlns="http://www.w3.org/2000/svg" width="516.119" height="1083.632" viewBox="0 0 516.119 1083.632"> + <path id="Path_40" data-name="Path 40" d="M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z" transform="translate(-147.025 -140.939)" fill="#f5f5f5"/> + </svg> + + </div> + + <!-- Resources --> + <h2>Resources</h2> + <p>Here are some links to help you get started:</p> + + <div class="card-container"> + <a class="card" target="_blank" rel="noopener" href="https://angular.io/tutorial"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/></svg> + + <span>Learn Angular</span> + + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg> </a> + + <a class="card" target="_blank" rel="noopener" href="https://angular.io/cli"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg> + + <span>CLI Documentation</span> + + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg> + </a> + + <a class="card" target="_blank" rel="noopener" href="https://blog.angular.io/"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"/></svg> + + <span>Angular Blog</span> + + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg> + </a> + + </div> + + <!-- Next Steps --> + <h2>Next Steps</h2> + <p>What do you want to do next with your app?</p> + + <input type="hidden" #selection> + + <div class="card-container"> + <div class="card card-small" (click)="selection.value = 'component'" tabindex="0"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> + + <span>New Component</span> + </div> + + <div class="card card-small" (click)="selection.value = 'material'" tabindex="0"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> + + <span>Angular Material</span> + </div> + + <div class="card card-small" (click)="selection.value = 'dependency'" tabindex="0"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> + + <span>Add Dependency</span> + </div> + + <div class="card card-small" (click)="selection.value = 'test'" tabindex="0"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> + + <span>Run and Watch Tests</span> + </div> + + <div class="card card-small" (click)="selection.value = 'build'" tabindex="0"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg> + + <span>Build for Production</span> + </div> + </div> + + <!-- Terminal --> + <div class="terminal" [ngSwitch]="selection.value"> + <pre *ngSwitchDefault>ng generate component xyz</pre> + <pre *ngSwitchCase="'material'">ng add @angular/material</pre> + <pre *ngSwitchCase="'dependency'">ng add _____</pre> + <pre *ngSwitchCase="'test'">ng test</pre> + <pre *ngSwitchCase="'build'">ng build --prod</pre> + </div> + + <!-- Links --> + <div class="card-container"> + <a class="circle-link" title="Animations" href="https://angular.io/guide/animations" target="_blank" rel="noopener"> + <svg id="Group_20" data-name="Group 20" xmlns="http://www.w3.org/2000/svg" width="21.813" height="23.453" viewBox="0 0 21.813 23.453"> + <path id="Path_15" data-name="Path 15" d="M4099.584,972.736h0l-10.882,3.9,1.637,14.4,9.245,5.153,9.245-5.153,1.686-14.4Z" transform="translate(-4088.702 -972.736)" fill="#ffa726"/> + <path id="Path_16" data-name="Path 16" d="M4181.516,972.736v23.453l9.245-5.153,1.686-14.4Z" transform="translate(-4170.633 -972.736)" fill="#fb8c00"/> + <path id="Path_17" data-name="Path 17" d="M4137.529,1076.127l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1058.315)" fill="#ffe0b2"/> + <path id="Path_18" data-name="Path 18" d="M4137.529,1051.705l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1036.757)" fill="#fff3e0"/> + <path id="Path_19" data-name="Path 19" d="M4137.529,1027.283l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1015.199)" fill="#fff"/> + </svg> + </a> + + <a class="circle-link" title="CLI" href="https://cli.angular.io/" target="_blank" rel="noopener"> + <svg alt="Angular CLI Logo" xmlns="http://www.w3.org/2000/svg" width="21.762" height="23.447" viewBox="0 0 21.762 23.447"> + <g id="Group_21" data-name="Group 21" transform="translate(0)"> + <path id="Path_20" data-name="Path 20" d="M2660.313,313.618h0l-10.833,3.9,1.637,14.4,9.2,5.152,9.244-5.152,1.685-14.4Z" transform="translate(-2649.48 -313.618)" fill="#37474f"/> + <path id="Path_21" data-name="Path 21" d="M2741.883,313.618v23.447l9.244-5.152,1.685-14.4Z" transform="translate(-2731.05 -313.618)" fill="#263238"/> + <path id="Path_22" data-name="Path 22" d="M2692.293,379.169h11.724V368.618h-11.724Zm11.159-.6h-10.608v-9.345h10.621v9.345Z" transform="translate(-2687.274 -362.17)" fill="#fff"/> + <path id="Path_23" data-name="Path 23" d="M2709.331,393.688l.4.416,2.265-2.28-2.294-2.294-.4.4,1.893,1.893Z" transform="translate(-2702.289 -380.631)" fill="#fff"/> + <rect id="Rectangle_12" data-name="Rectangle 12" width="3.517" height="0.469" transform="translate(9.709 13.744)" fill="#fff"/> + </g> + </svg> + </a> + + <a class="circle-link" title="Augury" href="https://augury.rangle.io/" target="_blank" rel="noopener"> + <svg alt="Angular Augury Logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="21.81" height="23.447" viewBox="0 0 21.81 23.447"> + <defs> + <clipPath id="clip-path"> + <rect id="Rectangle_13" data-name="Rectangle 13" width="10.338" height="10.27" fill="none"/> + </clipPath> + </defs> + <g id="Group_25" data-name="Group 25" transform="translate(0)"> + <path id="Path_24" data-name="Path 24" d="M3780.155,311.417h0l-10.881,3.9,1.637,14.4,9.244,5.152,9.244-5.152,1.685-14.4Z" transform="translate(-3769.274 -311.417)" fill="#4a3493"/> + <path id="Path_25" data-name="Path 25" d="M3862.088,311.417v23.447l9.244-5.152,1.685-14.4Z" transform="translate(-3851.207 -311.417)" fill="#311b92"/> + <g id="Group_24" data-name="Group 24" transform="translate(6.194 6.73)" opacity="0.5"> + <g id="Group_23" data-name="Group 23" transform="translate(0 0)"> + <g id="Group_22" data-name="Group 22" clip-path="url(#clip-path)"> + <path id="Path_26" data-name="Path 26" d="M3832.4,373.252a5.168,5.168,0,1,1-5.828-4.383,5.216,5.216,0,0,1,2.574.3,3.017,3.017,0,1,0,3.252,4.086Z" transform="translate(-3822.107 -368.821)" fill="#fff"/> + </g> + </g> + </g> + <path id="Path_27" data-name="Path 27" d="M3830.582,370.848a5.162,5.162,0,1,1-3.254-4.086,3.017,3.017,0,1,0,3.252,4.086Z" transform="translate(-3814.311 -359.969)" fill="#fff"/> + </g> + </svg> + </a> + + <a class="circle-link" title="Protractor" href="https://www.protractortest.org/" target="_blank" rel="noopener"> + <svg alt="Angular Protractor Logo" xmlns="http://www.w3.org/2000/svg" width="21.81" height="23.447" viewBox="0 0 21.81 23.447"> + <g id="Group_26" data-name="Group 26" transform="translate(0)"> + <path id="Path_28" data-name="Path 28" d="M4620.155,311.417h0l-10.881,3.9,1.637,14.4,9.244,5.152,9.244-5.152,1.685-14.4Z" transform="translate(-4609.274 -311.417)" fill="#e13439"/> + <path id="Path_29" data-name="Path 29" d="M4702.088,311.417v23.447l9.244-5.152,1.685-14.4Z" transform="translate(-4691.207 -311.417)" fill="#b52f32"/> + <path id="Path_30" data-name="Path 30" d="M4651.044,369.58v-.421h1.483a7.6,7.6,0,0,0-2.106-5.052l-1.123,1.123-.3-.3,1.122-1.121a7.588,7.588,0,0,0-4.946-2.055v1.482h-.421v-1.485a7.589,7.589,0,0,0-5.051,2.058l1.122,1.121-.3.3-1.123-1.123a7.591,7.591,0,0,0-2.106,5.052h1.482v.421h-1.489v1.734h15.241V369.58Zm-10.966-.263a4.835,4.835,0,0,1,9.67,0Z" transform="translate(-4634.008 -355.852)" fill="#fff"/> + </g> + </svg> + </a> + + <a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener"> + <svg alt="Meetup Logo" xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447"> + <path id="logo--mSwarm" d="M21.221,14.95A4.393,4.393,0,0,1,17.6,19.281a4.452,4.452,0,0,1-.8.069c-.09,0-.125.035-.154.117a2.939,2.939,0,0,1-2.506,2.091,2.868,2.868,0,0,1-2.248-.624.168.168,0,0,0-.245-.005,3.926,3.926,0,0,1-2.589.741,4.015,4.015,0,0,1-3.7-3.347,2.7,2.7,0,0,1-.043-.38c0-.106-.042-.146-.143-.166a3.524,3.524,0,0,1-1.516-.69A3.623,3.623,0,0,1,2.23,14.557a3.66,3.66,0,0,1,1.077-3.085.138.138,0,0,0,.026-.2,3.348,3.348,0,0,1-.451-1.821,3.46,3.46,0,0,1,2.749-3.28.44.44,0,0,0,.355-.281,5.072,5.072,0,0,1,3.863-3,5.028,5.028,0,0,1,3.555.666.31.31,0,0,0,.271.03A4.5,4.5,0,0,1,18.3,4.7a4.4,4.4,0,0,1,1.334,2.751,3.658,3.658,0,0,1,.022.706.131.131,0,0,0,.1.157,2.432,2.432,0,0,1,1.574,1.645,2.464,2.464,0,0,1-.7,2.616c-.065.064-.051.1-.014.166A4.321,4.321,0,0,1,21.221,14.95ZM13.4,14.607a2.09,2.09,0,0,0,1.409,1.982,4.7,4.7,0,0,0,1.275.221,1.807,1.807,0,0,0,.9-.151.542.542,0,0,0,.321-.545.558.558,0,0,0-.359-.534,1.2,1.2,0,0,0-.254-.078c-.262-.047-.526-.086-.787-.138a.674.674,0,0,1-.617-.75,3.394,3.394,0,0,1,.218-1.109c.217-.658.509-1.286.79-1.918a15.609,15.609,0,0,0,.745-1.86,1.95,1.95,0,0,0,.06-1.073,1.286,1.286,0,0,0-1.051-1.033,1.977,1.977,0,0,0-1.521.2.339.339,0,0,1-.446-.042c-.1-.092-.2-.189-.307-.284a1.214,1.214,0,0,0-1.643-.061,7.563,7.563,0,0,1-.614.512A.588.588,0,0,1,10.883,8c-.215-.115-.437-.215-.659-.316a2.153,2.153,0,0,0-.695-.248A2.091,2.091,0,0,0,7.541,8.562a9.915,9.915,0,0,0-.405.986c-.559,1.545-1.015,3.123-1.487,4.7a1.528,1.528,0,0,0,.634,1.777,1.755,1.755,0,0,0,1.5.211,1.35,1.35,0,0,0,.824-.858c.543-1.281,1.032-2.584,1.55-3.875.142-.355.28-.712.432-1.064a.548.548,0,0,1,.851-.24.622.622,0,0,1,.185.539,2.161,2.161,0,0,1-.181.621c-.337.852-.68,1.7-1.018,2.552a2.564,2.564,0,0,0-.173.528.624.624,0,0,0,.333.71,1.073,1.073,0,0,0,.814.034,1.22,1.22,0,0,0,.657-.655q.758-1.488,1.511-2.978.35-.687.709-1.37a1.073,1.073,0,0,1,.357-.434.43.43,0,0,1,.463-.016.373.373,0,0,1,.153.387.7.7,0,0,1-.057.236c-.065.157-.127.316-.2.469-.42.883-.846,1.763-1.262,2.648A2.463,2.463,0,0,0,13.4,14.607Zm5.888,6.508a1.09,1.09,0,0,0-2.179.006,1.09,1.09,0,0,0,2.179-.006ZM1.028,12.139a1.038,1.038,0,1,0,.01-2.075,1.038,1.038,0,0,0-.01,2.075ZM13.782.528a1.027,1.027,0,1,0-.011,2.055A1.027,1.027,0,0,0,13.782.528ZM22.21,6.95a.882.882,0,0,0-1.763.011A.882.882,0,0,0,22.21,6.95ZM4.153,4.439a.785.785,0,1,0,.787-.78A.766.766,0,0,0,4.153,4.439Zm8.221,18.22a.676.676,0,1,0-.677.666A.671.671,0,0,0,12.374,22.658ZM22.872,12.2a.674.674,0,0,0-.665.665.656.656,0,0,0,.655.643.634.634,0,0,0,.655-.644A.654.654,0,0,0,22.872,12.2ZM7.171-.123A.546.546,0,0,0,6.613.43a.553.553,0,1,0,1.106,0A.539.539,0,0,0,7.171-.123ZM24.119,9.234a.507.507,0,0,0-.493.488.494.494,0,0,0,.494.494.48.48,0,0,0,.487-.483A.491.491,0,0,0,24.119,9.234Zm-19.454,9.7a.5.5,0,0,0-.488-.488.491.491,0,0,0-.487.5.483.483,0,0,0,.491.479A.49.49,0,0,0,4.665,18.936Z" transform="translate(0 0.123)" fill="#f64060"/> + </svg> + </a> + + <a class="circle-link" title="Join the Conversation on Gitter" href="https://gitter.im/angular/angular" target="_blank" rel="noopener"> + <svg alt="Gitter Logo" xmlns="http://www.w3.org/2000/svg" width="19.447" height="19.447" viewBox="0 0 19.447 19.447"> + <g id="Group_40" data-name="Group 40" transform="translate(-1612 -405)"> + <rect id="Rectangle_19" data-name="Rectangle 19" width="19.447" height="19.447" transform="translate(1612 405)" fill="#e60257"/> + <g id="gitter" transform="translate(1617.795 408.636)"> + <g id="Group_33" data-name="Group 33" transform="translate(0 0)"> + <rect id="Rectangle_15" data-name="Rectangle 15" width="1.04" height="9.601" transform="translate(2.304 2.324)" fill="#fff"/> + <rect id="Rectangle_16" data-name="Rectangle 16" width="1.04" height="9.601" transform="translate(4.607 2.324)" fill="#fff"/> + <rect id="Rectangle_17" data-name="Rectangle 17" width="1.04" height="4.648" transform="translate(6.91 2.324)" fill="#fff"/> + <rect id="Rectangle_18" data-name="Rectangle 18" width="1.04" height="6.971" transform="translate(0 0)" fill="#fff"/> + </g> + </g> + </g> + </svg> + </a> + </div> + + <!-- Footer --> + <footer> + Love Angular?&nbsp; + <a href="https://github.com/angular/angular" target="_blank" rel="noopener"> Give our repo a star. + <div class="github-star-badge"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg> + Star + </div> + </a> + <a href="https://github.com/angular/angular" target="_blank" rel="noopener"> + <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#1976d2"/><path d="M0 0h24v24H0z" fill="none"/></svg> + </a> + </footer> + + <svg id="clouds" alt="Gray Clouds Background" xmlns="http://www.w3.org/2000/svg" width="2611.084" height="485.677" viewBox="0 0 2611.084 485.677"> + <path id="Path_39" data-name="Path 39" d="M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z" transform="translate(142.69 -634.312)" fill="#eee"/> + </svg> + +</div> + +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * * * * * * * * * * * The content above * * * * * * * * * * * --> +<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * --> +<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> + + <% if (routing) { %> -<router-outlet></router-outlet><% } %> +<router-outlet></router-outlet><% } %> \ No newline at end of file diff --git a/packages/schematics/angular/application/other-files/app.component.spec.ts.template b/packages/schematics/angular/application/other-files/app.component.spec.ts.template index 23a395040bf2..9ffbfc0a3127 100644 --- a/packages/schematics/angular/application/other-files/app.component.spec.ts.template +++ b/packages/schematics/angular/application/other-files/app.component.spec.ts.template @@ -26,10 +26,10 @@ describe('AppComponent', () => { expect(app.title).toEqual('<%= name %>'); }); - it('should render title in a h1 tag', () => { + it('should render title', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= name %>!'); + expect(compiled.querySelector('.content span').textContent).toContain('<%= name %> app is running!'); }); }); diff --git a/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template b/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template index 1ff95e3adebe..06f874bf1328 100644 --- a/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template +++ b/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template @@ -10,7 +10,7 @@ describe('workspace-project App', () => { it('should display welcome message', () => { page.navigateTo(); - expect(page.getTitleText()).toEqual('Welcome to <%= relatedAppName %>!'); + expect(page.getTitleText()).toEqual('<%= relatedAppName %> app is running!'); }); afterEach(async () => { diff --git a/packages/schematics/angular/e2e/files/src/app.po.ts.template b/packages/schematics/angular/e2e/files/src/app.po.ts.template index 4e1cf115d60f..33f865f96075 100644 --- a/packages/schematics/angular/e2e/files/src/app.po.ts.template +++ b/packages/schematics/angular/e2e/files/src/app.po.ts.template @@ -6,6 +6,6 @@ export class AppPage { } getTitleText() { - return element(by.css('<%= rootSelector %> h1')).getText() as Promise<string>; + return element(by.css('<%= rootSelector %> .content span')).getText() as Promise<string>; } } diff --git a/tests/legacy-cli/e2e/tests/build/platform-server.ts b/tests/legacy-cli/e2e/tests/build/platform-server.ts index 534884ea10c1..ff76d08627fe 100644 --- a/tests/legacy-cli/e2e/tests/build/platform-server.ts +++ b/tests/legacy-cli/e2e/tests/build/platform-server.ts @@ -153,7 +153,7 @@ export default function() { .then(() => expectFileToMatch( 'dist/test-project-server/index.html', - /<h2.*>Here are some links to help you start: <\/h2>/, + /<p.*>Here are some links to help you get started:<\/p>/, ), ) .then(() => diff --git a/tests/legacy-cli/e2e/tests/build/prod-build.ts b/tests/legacy-cli/e2e/tests/build/prod-build.ts index 1fa929480d1f..ccbc92dcb65c 100644 --- a/tests/legacy-cli/e2e/tests/build/prod-build.ts +++ b/tests/legacy-cli/e2e/tests/build/prod-build.ts @@ -54,11 +54,11 @@ export default async function () { // Size checks in bytes if (ivyProject) { - verifySize(mainES5Path, 147789); - verifySize(mainES2015Path, 130153); + verifySize(mainES5Path, 167355); + verifySize(mainES2015Path, 149806); } else { - verifySize(mainES5Path, 155523); - verifySize(mainES2015Path, 135394); + verifySize(mainES5Path, 184470); + verifySize(mainES2015Path, 163627); } // Check that the process didn't change local files.
783cc7f9720a5b526a4e2b6a9ab2d2dc60eee3e2
2025-01-07 05:18:41
Angular Robot
build: lock file maintenance
false
lock file maintenance
build
diff --git a/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx b/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx index f0e174f14c69..ab50318a3a24 100755 --- a/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx +++ b/.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx @@ -3,6 +3,6 @@ # This file should be checked into version control along with the pnpm-lock.yaml file. .npmrc=-2023857461 package.json=921023999 -pnpm-lock.yaml=-1451571958 +pnpm-lock.yaml=-398883266 pnpm-workspace.yaml=1711114604 -yarn.lock=-2102002357 +yarn.lock=-602836965 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb9fe80bcefc..d8f3c05b3e9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: version: 19.1.0-next.4(@angular/[email protected]) '@angular/bazel': specifier: https://github.com/angular/bazel-builds.git#8cd573656c96422cd30c7290361a539df9b02b1a - version: github.com/angular/bazel-builds/8cd573656c96422cd30c7290361a539df9b02b1a(@angular/[email protected])(@bazel/[email protected])(@bazel/[email protected])(@rollup/[email protected])(@rollup/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected]) + version: github.com/angular/bazel-builds/8cd573656c96422cd30c7290361a539df9b02b1a(@angular/[email protected])(@bazel/[email protected])(@bazel/[email protected])(@rollup/[email protected])(@rollup/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected]) '@angular/build-tooling': specifier: https://github.com/angular/dev-infra-private-build-tooling-builds.git#e025d180b28460375d9f2292dc86e7c6a459b5b6 version: github.com/angular/dev-infra-private-build-tooling-builds/e025d180b28460375d9f2292dc86e7c6a459b5b6(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]) @@ -120,10 +120,10 @@ importers: version: 0.6.3 '@inquirer/confirm': specifier: 5.1.1 - version: 5.1.1(@types/[email protected]) + version: 5.1.1(@types/[email protected]) '@inquirer/prompts': specifier: 7.2.1 - version: 7.2.1(@types/[email protected]) + version: 7.2.1(@types/[email protected]) '@listr2/prompt-adapter-inquirer': specifier: 2.0.18 version: 2.0.18(@inquirer/[email protected]) @@ -171,10 +171,10 @@ importers: version: 2.0.6 '@types/lodash': specifier: ^4.17.0 - version: 4.17.13 + version: 4.17.14 '@types/node': specifier: ^18.13.0 - version: 18.19.68 + version: 18.19.70 '@types/npm-package-arg': specifier: ^6.1.0 version: 6.1.4 @@ -426,7 +426,7 @@ importers: version: 3.0.1 rollup-plugin-sourcemaps: specifier: ^0.6.0 - version: 0.6.3(@types/[email protected])([email protected]) + version: 0.6.3(@types/[email protected])([email protected]) rxjs: specifier: 7.8.1 version: 7.8.1 @@ -465,7 +465,7 @@ importers: version: 1.2.2 ts-node: specifier: ^10.9.1 - version: 10.9.2(@types/[email protected])([email protected]) + version: 10.9.2(@types/[email protected])([email protected]) tslib: specifier: 2.8.1 version: 2.8.1 @@ -486,7 +486,7 @@ importers: version: 10.2.2 vite: specifier: 6.0.7 - version: 6.0.7(@types/[email protected])([email protected])([email protected])([email protected]) + version: 6.0.7(@types/[email protected])([email protected])([email protected])([email protected]) watchpack: specifier: 2.4.2 version: 2.4.2 @@ -578,7 +578,7 @@ packages: - zone.js dev: true - /@angular/[email protected](@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]): + /@angular/[email protected](@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]): resolution: {integrity: sha512-HDyPsyyqbMpUQXA3VBcfFcGu6sj0vxKL/DEKxnxIgbC9dZ/01yNDMTPIszpGg16fRPt10xEefx3hUFMMgYzWJQ==} engines: {node: ^18.19.1 || ^20.11.1 || >=22.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} peerDependencies: @@ -619,7 +619,7 @@ packages: '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-split-export-declaration': 7.24.7 '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/[email protected]) - '@inquirer/confirm': 5.1.0(@types/[email protected]) + '@inquirer/confirm': 5.1.0(@types/[email protected]) '@vitejs/plugin-basic-ssl': 1.2.0([email protected]) beasties: 0.2.0 browserslist: 4.24.3 @@ -639,7 +639,7 @@ packages: sass: 1.83.0 semver: 7.6.3 typescript: 5.7.2 - vite: 6.0.3(@types/[email protected])([email protected])([email protected])([email protected]) + vite: 6.0.3(@types/[email protected])([email protected])([email protected])([email protected]) watchpack: 2.4.2 optionalDependencies: lmdb: 3.2.0 @@ -985,7 +985,7 @@ packages: '@babel/helper-plugin-utils': 7.25.9 debug: 4.4.0([email protected]) lodash.debounce: 4.0.8 - resolve: 1.22.9 + resolve: 1.22.10 transitivePeerDependencies: - supports-color dev: true @@ -2605,7 +2605,7 @@ packages: '@google-cloud/promisify': 4.0.0 '@grpc/proto-loader': 0.7.13 '@opentelemetry/api': 1.9.0 - '@opentelemetry/context-async-hooks': 1.29.0(@opentelemetry/[email protected]) + '@opentelemetry/context-async-hooks': 1.30.0(@opentelemetry/[email protected]) '@opentelemetry/semantic-conventions': 1.28.0 '@types/big.js': 6.2.2 '@types/stack-trace': 0.0.33 @@ -2634,8 +2634,8 @@ packages: - supports-color dev: true - /@grpc/[email protected]: - resolution: {integrity: sha512-NBhrxEWnFh0FxeA0d//YP95lRFsSx2TNLEUQg4/W+5f/BMxcCjgOOIT24iD+ZB/tZw057j44DaIxja7w4XMrhg==} + /@grpc/[email protected]: + resolution: {integrity: sha512-d3iiHxdpg5+ZcJ6jnDSOT8Z0O0VMVGy34jAnYLUX8yd36b1qn8f1TwOA/Lc7TsOh03IkPJ38eGI5qD2EjNkoEA==} engines: {node: '>=12.10.0'} dependencies: '@grpc/proto-loader': 0.7.13 @@ -2679,48 +2679,48 @@ packages: deprecated: Use @eslint/object-schema instead dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-fYAKCAcGNMdfjL6hZTRUwkIByQ8EIZCXKrIQZH7XjADnN/xvRUhj8UdBbpC4zoUzvChhkSC/zRKaP/tDs3dZpg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/core': 10.1.2(@types/[email protected]) '@inquirer/figures': 1.0.9 - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-osaBbIMEqVFjTX5exoqPXs6PilWQdjaLhGtMDXMXg/yxkHXNq43GlxGyTA35lK2HpzUgDN+Cjh/2AmqCN0QJpw==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-vVLSbGci+IKQvDOtzpPTCOiEJCNidHcAq9JYVoWTW0svb5FiwSLotkM+JXNXejfjnzVYV9n0DTBythl9+XgTxg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-bHd96F3ezHg1mf/J0Rb4CV8ndCN0v28kUlrHqP7+ECm1C/A+paB7Xh2lbMk6x+kweQC+rZOxM/YeKikzxco8bQ==} engines: {node: '>=18'} dependencies: '@inquirer/figures': 1.0.9 - '@inquirer/type': 3.0.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) ansi-escapes: 4.3.2 cli-width: 4.1.0 mute-stream: 2.0.0 @@ -2732,27 +2732,27 @@ packages: - '@types/node' dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-xn9aDaiP6nFa432i68JCaL302FyL6y/6EG97nAtfIPnWZ+mWPgCMLGc4XZ2QQMsZtu9q3Jd5AzBPjXh10aX9kA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 external-editor: 3.1.0 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-GYocr+BPyxKPxQ4UZyNMqZFSGKScSUc0Vk17II3J+0bDcgGsQm0KYQNooN1Q5iBfXsy3x/VWmHGh20QnzsaHwg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 yoctocolors-cjs: 2.1.2 dev: true @@ -2761,94 +2761,94 @@ packages: engines: {node: '>=18'} dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-nAXAHQndZcXB+7CyjIW3XuQZZHbQQ0q8LX6miY6bqAWwDzNa9JUioDBYrFmOUNIsuF08o1WT/m2gbBXvBhYVxg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-DX7a6IXRPU0j8kr2ovf+QaaDiIf+zEKaZVzCWdLOTk7XigqSXvoh4cul7x68xp54WTQrgSnW7P1WBJDbyY3GhA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-wiliQOWdjM8FnBmdIHtQV2Ca3S1+tMBUerhyjkRCv1g+4jSvEweGu9GCcvVEgKDhTBT15nrxvk5/bVrGUqSs1w==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 ansi-escapes: 4.3.2 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-v2JSGri6/HXSfoGIwuKEn8sNCQK6nsB2BNpy2lSX6QH9bsECrMv93QHnj5+f+1ZWpF/VNioIV2B/PDox8EvGuQ==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/checkbox': 4.0.4(@types/[email protected]) - '@inquirer/confirm': 5.1.1(@types/[email protected]) - '@inquirer/editor': 4.2.1(@types/[email protected]) - '@inquirer/expand': 4.0.4(@types/[email protected]) - '@inquirer/input': 4.1.1(@types/[email protected]) - '@inquirer/number': 3.0.4(@types/[email protected]) - '@inquirer/password': 4.0.4(@types/[email protected]) - '@inquirer/rawlist': 4.0.4(@types/[email protected]) - '@inquirer/search': 3.0.4(@types/[email protected]) - '@inquirer/select': 4.0.4(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/checkbox': 4.0.4(@types/[email protected]) + '@inquirer/confirm': 5.1.1(@types/[email protected]) + '@inquirer/editor': 4.2.1(@types/[email protected]) + '@inquirer/expand': 4.0.4(@types/[email protected]) + '@inquirer/input': 4.1.1(@types/[email protected]) + '@inquirer/number': 3.0.4(@types/[email protected]) + '@inquirer/password': 4.0.4(@types/[email protected]) + '@inquirer/rawlist': 4.0.4(@types/[email protected]) + '@inquirer/search': 3.0.4(@types/[email protected]) + '@inquirer/select': 4.0.4(@types/[email protected]) + '@types/node': 18.19.70 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-IsVN2EZdNHsmFdKWx9HaXb8T/s3FlR/U1QPt9dwbSyPtjFbMTlW9CRFvnn0bm/QIsrMRD2oMZqrQpSWPQVbXXg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 yoctocolors-cjs: 2.1.2 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-tSkJk2SDmC2MEdTIjknXWmCnmPr5owTs9/xjfa14ol1Oh95n6xW7SYn5fiPk4/vrJPys0ggSWiISdPze4LTa7A==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/core': 10.1.2(@types/[email protected]) '@inquirer/figures': 1.0.9 - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 yoctocolors-cjs: 2.1.2 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-ZzYLuLoUzTIW9EJm++jBpRiTshGqS3Q1o5qOEQqgzaBlmdsjQr6pA4TUNkwu6OBYgM2mIRbCz6mUhFDfl/GF+w==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@inquirer/core': 10.1.2(@types/[email protected]) + '@inquirer/core': 10.1.2(@types/[email protected]) '@inquirer/figures': 1.0.9 - '@inquirer/type': 3.0.2(@types/[email protected]) - '@types/node': 18.19.68 + '@inquirer/type': 3.0.2(@types/[email protected]) + '@types/node': 18.19.70 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 dev: true @@ -2860,13 +2860,13 @@ packages: mute-stream: 1.0.0 dev: true - /@inquirer/[email protected](@types/[email protected]): + /@inquirer/[email protected](@types/[email protected]): resolution: {integrity: sha512-ZhQ4TvhwHZF+lGhQ2O/rsjo80XoZR5/5qhOY3t6FJuX5XBg5Be8YzYTvaUGJnc12AUGI2nr4QSUE4PhKSigx7g==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' dependencies: - '@types/node': 18.19.68 + '@types/node': 18.19.70 dev: true /@isaacs/[email protected]: @@ -2982,7 +2982,7 @@ packages: peerDependencies: '@inquirer/prompts': '>= 3 < 8' dependencies: - '@inquirer/prompts': 7.2.1(@types/[email protected]) + '@inquirer/prompts': 7.2.1(@types/[email protected]) '@inquirer/type': 1.5.5 dev: true @@ -3070,30 +3070,30 @@ packages: dev: true optional: true - /@microsoft/[email protected](@types/[email protected]): + /@microsoft/[email protected](@types/[email protected]): resolution: {integrity: sha512-CTS2PlASJHxVY8hqHORVb1HdECWOEMcMnM6/kDkPr0RZapAFSIHhg9D4jxuE8g+OWYHtPc10LCpmde5pylTRlA==} dependencies: '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - '@rushstack/node-core-library': 5.10.1(@types/[email protected]) + '@rushstack/node-core-library': 5.10.1(@types/[email protected]) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/[email protected](@types/[email protected]): + /@microsoft/[email protected](@types/[email protected]): resolution: {integrity: sha512-HN9Osa1WxqLM66RaqB5nPAadx+nTIQmY/XtkFdaJvusjG8Tus++QqZtD7KPZDSkhEMGHsYeSyeU8qUzCDUXPjg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.30.1(@types/[email protected]) + '@microsoft/api-extractor-model': 7.30.1(@types/[email protected]) '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - '@rushstack/node-core-library': 5.10.1(@types/[email protected]) + '@rushstack/node-core-library': 5.10.1(@types/[email protected]) '@rushstack/rig-package': 0.5.3 - '@rushstack/terminal': 0.14.4(@types/[email protected]) - '@rushstack/ts-command-line': 4.23.2(@types/[email protected]) + '@rushstack/terminal': 0.14.4(@types/[email protected]) + '@rushstack/ts-command-line': 4.23.2(@types/[email protected]) lodash: 4.17.21 minimatch: 3.0.8 - resolve: 1.22.9 + resolve: 1.22.10 semver: 7.5.4 source-map: 0.6.1 typescript: 5.7.2 @@ -3107,7 +3107,7 @@ packages: '@microsoft/tsdoc': 0.15.1 ajv: 8.12.0 jju: 1.4.0 - resolve: 1.22.9 + resolve: 1.22.10 dev: true /@microsoft/[email protected]: @@ -3325,7 +3325,7 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 + fastq: 1.18.0 dev: true /@npmcli/[email protected]: @@ -3426,32 +3426,32 @@ packages: engines: {node: '>= 18'} dev: true - /@octokit/[email protected]: - resolution: {integrity: sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==} + /@octokit/[email protected]: + resolution: {integrity: sha512-z+j7DixNnfpdToYsOutStDgeRzJSMnbj8T1C/oQjB6Aa+kRfNjs/Fn7W6c8bmlt6mfy3FkgeKBRnDjxQow5dow==} engines: {node: '>= 18'} dependencies: '@octokit/auth-token': 5.1.1 - '@octokit/graphql': 8.1.1 - '@octokit/request': 9.1.3 - '@octokit/request-error': 6.1.5 + '@octokit/graphql': 8.1.2 + '@octokit/request': 9.1.4 + '@octokit/request-error': 6.1.6 '@octokit/types': 13.6.2 before-after-hook: 3.0.2 universal-user-agent: 7.0.2 dev: true - /@octokit/[email protected]: - resolution: {integrity: sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==} + /@octokit/[email protected]: + resolution: {integrity: sha512-XybpFv9Ms4hX5OCHMZqyODYqGTZ3H6K6Vva+M9LR7ib/xr1y1ZnlChYv9H680y77Vd/i/k+thXApeRASBQkzhA==} engines: {node: '>= 18'} dependencies: '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 dev: true - /@octokit/[email protected]: - resolution: {integrity: sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==} + /@octokit/[email protected]: + resolution: {integrity: sha512-bdlj/CJVjpaz06NBpfHhp4kGJaRZfz7AzC+6EwUImRtrwIw8dIgJ63Xg0OzV9pRn3rIzrt5c2sa++BL0JJ8GLw==} engines: {node: '>= 18'} dependencies: - '@octokit/request': 9.1.3 + '@octokit/request': 9.1.4 '@octokit/types': 13.6.2 universal-user-agent: 7.0.2 dev: true @@ -3460,49 +3460,50 @@ packages: resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} dev: true - /@octokit/[email protected](@octokit/[email protected]): + /@octokit/[email protected](@octokit/[email protected]): resolution: {integrity: sha512-zcvqqf/+TicbTCa/Z+3w4eBJcAxCFymtc0UAIsR3dEVoNilWld4oXdscQ3laXamTszUZdusw97K8+DrbFiOwjw==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=6' dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 6.1.3 '@octokit/types': 13.6.2 dev: true - /@octokit/[email protected](@octokit/[email protected]): + /@octokit/[email protected](@octokit/[email protected]): resolution: {integrity: sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=6' dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 6.1.3 dev: true - /@octokit/[email protected](@octokit/[email protected]): + /@octokit/[email protected](@octokit/[email protected]): resolution: {integrity: sha512-wMsdyHMjSfKjGINkdGKki06VEkgdEldIGstIEyGX0wbYHGByOwN/KiM+hAAlUwAtPkP3gvXtVQA9L3ITdV2tVw==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=6' dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 6.1.3 '@octokit/types': 13.6.2 dev: true - /@octokit/[email protected]: - resolution: {integrity: sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==} + /@octokit/[email protected]: + resolution: {integrity: sha512-pqnVKYo/at0NuOjinrgcQYpEbv4snvP3bKMRqHaD9kIsk9u1LCpb2smHZi8/qJfgeNqLo5hNW4Z7FezNdEo0xg==} engines: {node: '>= 18'} dependencies: '@octokit/types': 13.6.2 dev: true - /@octokit/[email protected]: - resolution: {integrity: sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==} + /@octokit/[email protected]: + resolution: {integrity: sha512-tMbOwGm6wDII6vygP3wUVqFTw3Aoo0FnVQyhihh8vVq12uO3P+vQZeo2CKMpWtPSogpACD0yyZAlVlQnjW71DA==} engines: {node: '>= 18'} dependencies: - '@octokit/endpoint': 10.1.1 - '@octokit/request-error': 6.1.5 + '@octokit/endpoint': 10.1.2 + '@octokit/request-error': 6.1.6 '@octokit/types': 13.6.2 + fast-content-type-parse: 2.0.1 universal-user-agent: 7.0.2 dev: true @@ -3510,10 +3511,10 @@ packages: resolution: {integrity: sha512-+CiLisCoyWmYicH25y1cDfCrv41kRSvTq6pPWtRroRJzhsCZWZyCqGyI8foJT5LmScADSwRAnr/xo+eewL04wQ==} engines: {node: '>= 18'} dependencies: - '@octokit/core': 6.1.2 - '@octokit/plugin-paginate-rest': 11.3.6(@octokit/[email protected]) - '@octokit/plugin-request-log': 5.3.1(@octokit/[email protected]) - '@octokit/plugin-rest-endpoint-methods': 13.2.6(@octokit/[email protected]) + '@octokit/core': 6.1.3 + '@octokit/plugin-paginate-rest': 11.3.6(@octokit/[email protected]) + '@octokit/plugin-request-log': 5.3.1(@octokit/[email protected]) + '@octokit/plugin-rest-endpoint-methods': 13.2.6(@octokit/[email protected]) dev: true /@octokit/[email protected]: @@ -3527,8 +3528,8 @@ packages: engines: {node: '>=8.0.0'} dev: true - /@opentelemetry/[email protected](@opentelemetry/[email protected]): - resolution: {integrity: sha512-TKT91jcFXgHyIDF1lgJF3BHGIakn6x0Xp7Tq3zoS3TMPzT9IlP0xEavWP8C1zGjU9UmZP2VR1tJhW9Az1A3w8Q==} + /@opentelemetry/[email protected](@opentelemetry/[email protected]): + resolution: {integrity: sha512-roCetrG/cz0r/gugQm/jFo75UxblVvHaNSRoR0kSSRSzXFAiIBqFCZuH458BHBNRtRe+0yJdIJ21L9t94bw7+g==} engines: {node: '>=14'} peerDependencies: '@opentelemetry/api': '>=1.0.0 <1.10.0' @@ -3791,7 +3792,7 @@ packages: deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 - resolve: 1.22.9 + resolve: 1.22.10 rollup: 4.30.0 dev: true @@ -3808,7 +3809,7 @@ packages: '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 - resolve: 1.22.9 + resolve: 1.22.10 rollup: 4.30.0 dev: true @@ -4105,8 +4106,8 @@ packages: dev: true optional: true - /@rollup/[email protected]: - resolution: {integrity: sha512-t4ckEC09V3wbe0r6T4fGjq85lEbvGcGxn7QYYgjHyKNzZaQU5kFqr4FsavXYHRiVNYq8m+dRhdGjpfcC9UzzPg==} + /@rollup/[email protected]: + resolution: {integrity: sha512-fRkB9VoRK/rWFVMw3eaBz8x3I74xoX9HXM01yM4qmm7Uptzq/jM8TJZEJPBGqyMZtEhU6HORUAOPX38wmXJj1g==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: @@ -4119,7 +4120,7 @@ packages: resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} dev: true - /@rushstack/[email protected](@types/[email protected]): + /@rushstack/[email protected](@types/[email protected]): resolution: {integrity: sha512-BSb/KcyBHmUQwINrgtzo6jiH0HlGFmrUy33vO6unmceuVKTEyL2q+P0fQq2oB5hvXVWOEUhxB2QvlkZluvUEmg==} peerDependencies: '@types/node': '*' @@ -4127,25 +4128,25 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 18.19.68 + '@types/node': 18.19.70 ajv: 8.13.0 ajv-draft-04: 1.0.0([email protected]) ajv-formats: 3.0.1([email protected]) fs-extra: 7.0.1 import-lazy: 4.0.0 jju: 1.4.0 - resolve: 1.22.9 + resolve: 1.22.10 semver: 7.5.4 dev: true /@rushstack/[email protected]: resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==} dependencies: - resolve: 1.22.9 + resolve: 1.22.10 strip-json-comments: 3.1.1 dev: true - /@rushstack/[email protected](@types/[email protected]): + /@rushstack/[email protected](@types/[email protected]): resolution: {integrity: sha512-NxACqERW0PHq8Rpq1V6v5iTHEwkRGxenjEW+VWqRYQ8T9puUzgmGHmEZUaUEDHAe9Qyvp0/Ew04sAiQw9XjhJg==} peerDependencies: '@types/node': '*' @@ -4153,15 +4154,15 @@ packages: '@types/node': optional: true dependencies: - '@rushstack/node-core-library': 5.10.1(@types/[email protected]) - '@types/node': 18.19.68 + '@rushstack/node-core-library': 5.10.1(@types/[email protected]) + '@types/node': 18.19.70 supports-color: 8.1.1 dev: true - /@rushstack/[email protected](@types/[email protected]): + /@rushstack/[email protected](@types/[email protected]): resolution: {integrity: sha512-JJ7XZX5K3ThBBva38aomgsPv1L7FV6XmSOcR6HtM7HDFZJkepqT65imw26h9ggGqMjsY0R9jcl30tzKcVj9aOQ==} dependencies: - '@rushstack/terminal': 0.14.4(@types/[email protected]) + '@rushstack/terminal': 0.14.4(@types/[email protected]) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -4234,7 +4235,7 @@ packages: peerDependencies: eslint: '>=8.40.0' dependencies: - '@typescript-eslint/utils': 8.19.0([email protected])([email protected]) + '@typescript-eslint/utils': 8.19.1([email protected])([email protected]) eslint: 8.57.0 eslint-visitor-keys: 4.2.0 espree: 10.3.0 @@ -4286,7 +4287,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4334,20 +4335,20 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-d2V8FDX/LbDCSm343N2VChzDxvll0h76I8oSigYpdLgPDmcdcR6fywTggKBkUiDM3qAbHOq7NZvepj/HJM5e2g==} dependencies: '@types/micromatch': 2.3.35 - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/serve-static': 1.15.7 chokidar: 3.6.0 dev: true @@ -4359,7 +4360,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-UhuhrQ5hclX6UJctv5m4Rfp52AfG9o9+d9/HwjxhVB5NjXxr5t9oKgJxN8xRHgr35oo8meUEHUPFWiKg6y71aA==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/qs': 6.9.17 dev: true @@ -4370,14 +4371,14 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} dependencies: - '@types/express-serve-static-core': 5.0.2 - '@types/node': 22.10.2 + '@types/express-serve-static-core': 5.0.3 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4398,13 +4399,13 @@ packages: '@types/connect': 3.4.38 '@types/express': 5.0.0 '@types/keygrip': 1.0.6 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4414,7 +4415,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-2eahVPsd+dy3CL6FugAzJcxoraWhUghZGEQJns1kTKfCXWKJ5iG/VkaB05wRVrDKHfOFKqb0X0kXh91eE99RZg==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4442,16 +4443,16 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 dev: true - /@types/[email protected]: - resolution: {integrity: sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==} + /@types/[email protected]: + resolution: {integrity: sha512-JEhMNwUJt7bw728CydvYzntD0XJeTmDnvwLlbfbAhE7Tbslm/ax6bdIiUwTgeVlZTsJQPwZwKpAkyDtIjsvx3g==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -4470,7 +4471,7 @@ packages: resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==} dependencies: '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 5.0.2 + '@types/express-serve-static-core': 5.0.3 '@types/qs': 6.9.17 '@types/serve-static': 1.15.7 dev: true @@ -4479,13 +4480,13 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4499,7 +4500,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4541,7 +4542,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-sjE/MHnoAZAQYAKRXAbjTOiBKyGGErEM725bruRcmDdMa2vp1bjWPhApI7/i564PTyHlzc3vIGXLL6TFIpAxFg==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 log4js: 6.9.1 transitivePeerDependencies: - supports-color @@ -4567,7 +4568,7 @@ packages: '@types/http-errors': 2.0.4 '@types/keygrip': 1.0.6 '@types/koa-compose': 3.2.8 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4577,12 +4578,12 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-cgu0Xefgq9O5FjFR78jgI6X31aPjDWCaJ6LCfRtlj6BtyVVWiXagysSYlPACwGKAzRwsFLjKXcj4iGfcVt6cLw==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/webpack': 4.41.40 dev: true - /@types/[email protected]: - resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==} + /@types/[email protected]: + resolution: {integrity: sha512-jsxagdikDiDBeIRaPYtArcT8my4tN1og7MtMRquFT3XNA6axxyHDRUemqDz/taRDdOUn0GnGHRCuff4q48sW9A==} dev: true /@types/[email protected]: @@ -4612,21 +4613,21 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} dev: true - /@types/[email protected]: - resolution: {integrity: sha512-QGtpFH1vB99ZmTa63K4/FU8twThj4fuVSBkGddTp7uIL/cuoLWIUSL2RcOaigBhfR+hg5pgGkBnkoOxrTVBMKw==} + /@types/[email protected]: + resolution: {integrity: sha512-RE+K0+KZoEpDUbGGctnGdkrLFwi1eYKTlIHNl2Um98mUkGsm1u2Ff6Ltd0e8DktTtC98uy7rSj+hO8t/QuLoVQ==} dependencies: undici-types: 5.26.5 dev: true - /@types/[email protected]: - resolution: {integrity: sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==} + /@types/[email protected]: + resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} dependencies: undici-types: 6.20.0 dev: true @@ -4638,7 +4639,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-db9iBh7kDDg4lRT4k4XZ6IiecTEgFCID4qk+VDVPbtzU855q3KZLCn08ATr4H27ntRJVhulQ7GWjl24H42x96w==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/node-fetch': 3.0.2 '@types/npm-package-arg': 6.1.4 '@types/npmlog': 7.0.0 @@ -4648,13 +4649,13 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-hJWbrKFvxKyWwSUXjZMYTINsSOY6IclhvGOZ97M8ac2tmR9hMwmTnYaMdpGhvju9ctWLTPhCS+eLfQNluiEjQQ==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-/XLR0VoTh2JEO0jJg1q/e6Rh9bxjBq9vorJuQmtT7rRrXSiWz7e7NsvXVYJQ0i8JxMlBMPPYDTnrRe7MZRFA8Q==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/npm-registry-fetch': 8.0.7 '@types/npmlog': 7.0.0 '@types/ssri': 7.1.5 @@ -4675,14 +4676,14 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-+cWbQUecD04MQYkjNBhPmcUIP368aloYmqm+ImdMKA8rMpxRNAhZAD6gIj+sAVTF1DliqrT/qUp6aGNi/9U3tw==} dependencies: '@types/duplexify': 3.6.4 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4701,7 +4702,7 @@ packages: resolution: {integrity: sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==} dependencies: '@types/caseless': 0.12.5 - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/tough-cookie': 4.0.5 form-data: 2.5.2 dev: true @@ -4709,7 +4710,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4731,7 +4732,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-ALqsj8D7Swb6MnBQuAQ58J3KC3yh6fLGtAmpBmnZX8j+0kmP7NaLt56CuzBw2W2bXPrvHFTgn8iekOQFUKXEQA==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/ws': 8.5.13 dev: true @@ -4743,7 +4744,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4756,7 +4757,7 @@ packages: resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/send': 0.17.4 dev: true @@ -4764,13 +4765,13 @@ packages: resolution: {integrity: sha512-vzmnCHl6hViPu9GNLQJ+DZFd6BQI2DBTUeOvYHqkWQLMfKAAQYMb/xAmZkTogZI/vqXHCWkqDRymDI5p0QTi5Q==} dependencies: '@types/glob': 7.2.0 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4780,7 +4781,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-odD/56S3B51liILSk5aXJlnYt99S6Rt9EFDDqGtJM26rKHApHcwyU/UoYHrzKkdkHMAIquGWCuHtQTbes+FRQw==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4813,13 +4814,13 @@ packages: resolution: {integrity: sha512-SbuSavsPxfOPZwVHBgQUVuzYBe6+8KL7dwiJLXaj5rmv3DxktOMwX5WP1J6UontwUbewjVoc7pCgZvqy6rPn+A==} dependencies: '@types/graceful-fs': 4.1.9 - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-4nZOdMwSPHZ4pTEZzSp0AsTM4K7Qmu40UKW4tJDiOVs20UzYF9l+qUe4s0ftfN0pin06n+5cWWDJXH+sbhAiDw==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/source-list-map': 0.1.6 source-map: 0.7.4 dev: true @@ -4827,7 +4828,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-u6kMFSBM9HcoTpUXnL6mt2HSzftqb3JgYV6oxIgL2dl6sX6aCa5k6SOkzv5DuZjBTPUE/dJltKtwwuqrkZHpfw==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 '@types/tapable': 1.0.12 '@types/uglify-js': 3.17.5 '@types/webpack-sources': 3.2.3 @@ -4838,13 +4839,13 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true /@types/[email protected]: @@ -4864,7 +4865,7 @@ packages: /@types/[email protected]: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 dev: true optional: true @@ -4918,6 +4919,14 @@ packages: '@typescript-eslint/visitor-keys': 8.19.0 dev: true + /@typescript-eslint/[email protected]: + resolution: {integrity: sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.19.1 + '@typescript-eslint/visitor-keys': 8.19.1 + dev: true + /@typescript-eslint/[email protected]([email protected])([email protected]): resolution: {integrity: sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4940,6 +4949,11 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true + /@typescript-eslint/[email protected]: + resolution: {integrity: sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dev: true + /@typescript-eslint/[email protected]([email protected]): resolution: {integrity: sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4959,6 +4973,25 @@ packages: - supports-color dev: true + /@typescript-eslint/[email protected]([email protected]): + resolution: {integrity: sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: 5.7.2 + dependencies: + '@typescript-eslint/types': 8.19.1 + '@typescript-eslint/visitor-keys': 8.19.1 + debug: 4.4.0([email protected]) + fast-glob: 3.3.3 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 2.0.0([email protected]) + typescript: 5.7.2 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/[email protected]([email protected])([email protected]): resolution: {integrity: sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4976,6 +5009,23 @@ packages: - supports-color dev: true + /@typescript-eslint/[email protected]([email protected])([email protected]): + resolution: {integrity: sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: 5.7.2 + dependencies: + '@eslint-community/eslint-utils': 4.4.1([email protected]) + '@typescript-eslint/scope-manager': 8.19.1 + '@typescript-eslint/types': 8.19.1 + '@typescript-eslint/typescript-estree': 8.19.1([email protected]) + eslint: 8.57.0 + typescript: 5.7.2 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/[email protected]: resolution: {integrity: sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4984,6 +5034,14 @@ packages: eslint-visitor-keys: 4.2.0 dev: true + /@typescript-eslint/[email protected]: + resolution: {integrity: sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.19.1 + eslint-visitor-keys: 4.2.0 + dev: true + /@ungap/[email protected]: resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} dev: true @@ -5218,7 +5276,7 @@ packages: peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 dependencies: - vite: 6.0.3(@types/[email protected])([email protected])([email protected])([email protected]) + vite: 6.0.3(@types/[email protected])([email protected])([email protected])([email protected]) dev: true /@vitejs/[email protected]([email protected]): @@ -5227,11 +5285,11 @@ packages: peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 dependencies: - vite: 6.0.7(@types/[email protected])([email protected])([email protected])([email protected]) + vite: 6.0.7(@types/[email protected])([email protected])([email protected])([email protected]) dev: true - /@web/[email protected]: - resolution: {integrity: sha512-/EBiDAUCJ2DzZhaFxTPRIznEPeafdLbXShIL6aTu7x73x7ZoxSDv7DGuTsh2rWNMUa4+AKli4UORrpyv6QBOiA==} + /@web/[email protected]: + resolution: {integrity: sha512-ypmMG+72ERm+LvP+loj9A64MTXvWMXHUOu773cPO4L1SV/VWg6xA9Pv7vkvkXQX+ItJtCJt+KQ+U6ui2HhSFUw==} engines: {node: '>=18.0.0'} dependencies: errorstacks: 2.4.1 @@ -5242,8 +5300,8 @@ packages: engines: {node: '>=18.0.0'} dev: true - /@web/[email protected]: - resolution: {integrity: sha512-nHSNrJ1J9GjmSceKNHpWRMjvpfE2NTV9EYUffPIr7j0sIV59gK7NI/4+9slotJ/ODXw0+e1gSeJshTOhjjVNxQ==} + /@web/[email protected]: + resolution: {integrity: sha512-Da65zsiN6iZPMRuj4Oa6YPwvsmZmo5gtPWhW2lx3GTUf5CAEapjVpZVlUXnKPL7M7zRuk72jSsIl8lo+XpTCtw==} engines: {node: '>=18.0.0'} dependencies: '@types/koa': 2.15.0 @@ -5251,7 +5309,7 @@ packages: '@web/parse5-utils': 2.1.0 chokidar: 4.0.3 clone: 2.1.2 - es-module-lexer: 1.5.4 + es-module-lexer: 1.6.0 get-stream: 6.0.1 is-stream: 2.0.1 isbinaryfile: 5.0.4 @@ -5275,7 +5333,7 @@ packages: engines: {node: '>=18.0.0'} dependencies: '@rollup/plugin-node-resolve': 15.3.1([email protected]) - '@web/dev-server-core': 0.7.4 + '@web/dev-server-core': 0.7.5 nanocolors: 0.2.13 parse5: 6.0.1 rollup: 4.30.0 @@ -5294,7 +5352,7 @@ packages: '@babel/code-frame': 7.26.2 '@types/command-line-args': 5.2.3 '@web/config-loader': 0.3.2 - '@web/dev-server-core': 0.7.4 + '@web/dev-server-core': 0.7.5 '@web/dev-server-rollup': 0.6.4 camelcase: 6.3.0 command-line-args: 5.2.1 @@ -5327,7 +5385,7 @@ packages: '@web/test-runner-coverage-v8': 0.8.0 async-mutex: 0.4.0 chrome-launcher: 0.15.2 - puppeteer-core: 23.10.4 + puppeteer-core: 23.11.1 transitivePeerDependencies: - bufferutil - supports-color @@ -5357,8 +5415,8 @@ packages: '@types/debounce': 1.2.4 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@web/browser-logs': 0.4.0 - '@web/dev-server-core': 0.7.4 + '@web/browser-logs': 0.4.1 + '@web/dev-server-core': 0.7.5 chokidar: 4.0.3 cli-cursor: 3.1.0 co-body: 6.2.0 @@ -5413,7 +5471,7 @@ packages: engines: {node: '>=18.0.0'} hasBin: true dependencies: - '@web/browser-logs': 0.4.0 + '@web/browser-logs': 0.4.1 '@web/config-loader': 0.3.2 '@web/dev-server': 0.4.6 '@web/test-runner-chrome': 0.17.0 @@ -5733,7 +5791,7 @@ packages: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.0.3 + fast-uri: 3.0.5 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 dev: true @@ -5832,11 +5890,11 @@ packages: engines: {node: '>=12.17'} dev: true - /[email protected]: - resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} + /[email protected]: + resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 is-array-buffer: 3.0.5 dev: true @@ -5850,9 +5908,9 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-object-atoms: 1.0.0 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 is-string: 1.1.1 dev: true @@ -5879,7 +5937,7 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-errors: 1.3.0 es-object-atoms: 1.0.0 es-shim-unscopables: 1.0.2 @@ -5891,7 +5949,7 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-shim-unscopables: 1.0.2 dev: true @@ -5901,7 +5959,7 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-shim-unscopables: 1.0.2 dev: true @@ -5909,12 +5967,12 @@ packages: resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.1 + array-buffer-byte-length: 1.0.2 call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-errors: 1.3.0 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 is-array-buffer: 3.0.5 dev: true @@ -6004,7 +6062,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.24.3 - caniuse-lite: 1.0.30001689 + caniuse-lite: 1.0.30001690 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 @@ -6084,15 +6142,15 @@ packages: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true - /[email protected]: - resolution: {integrity: sha512-/E8dDe9dsbLyh2qrZ64PEPadOQ0F4gbl1sUJOrmph7xOiIxfY8vwab/4bFLh4Y88/Hk/ujKcrQKc+ps0mv873A==} + /[email protected]: + resolution: {integrity: sha512-KSdMqLj1ZERZMP1PTmnLK7SqJu9z9/SbwUUPZly2puMtfVcytC+jl6mb/9XYiqq0PXcx1rNDS+Qvl1g54Lho6A==} dev: true optional: true /[email protected]: resolution: {integrity: sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==} dependencies: - bare-events: 2.5.0 + bare-events: 2.5.2 bare-path: 2.1.3 bare-stream: 2.6.1 dev: true @@ -6307,7 +6365,7 @@ packages: serve-static: 1.16.2 server-destroy: 1.0.1 socket.io: 4.8.1 - ua-parser-js: 1.0.39 + ua-parser-js: 1.0.40 yargs: 17.7.2 transitivePeerDependencies: - bufferutil @@ -6327,8 +6385,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001689 - electron-to-chromium: 1.5.74 + caniuse-lite: 1.0.30001690 + electron-to-chromium: 1.5.77 node-releases: 2.0.19 update-browserslist-db: 1.1.1([email protected]) dev: true @@ -6448,7 +6506,7 @@ packages: dependencies: call-bind-apply-helpers: 1.0.1 es-define-property: 1.0.1 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 set-function-length: 1.2.2 dev: true @@ -6457,7 +6515,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind-apply-helpers: 1.0.1 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 dev: true /[email protected]: @@ -6475,8 +6533,8 @@ packages: engines: {node: '>=10'} dev: true - /[email protected]: - resolution: {integrity: sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==} + /[email protected]: + resolution: {integrity: sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==} dev: true /[email protected]: @@ -6509,8 +6567,8 @@ packages: supports-color: 7.2.0 dev: true - /[email protected]: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + /[email protected]: + resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} dev: true @@ -6569,7 +6627,7 @@ packages: engines: {node: '>=12.13.0'} hasBin: true dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 @@ -6582,14 +6640,13 @@ packages: engines: {node: '>=6.0'} dev: true - /[email protected]([email protected]): - resolution: {integrity: sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==} + /[email protected]([email protected]): + resolution: {integrity: sha512-6CJWHkNRoyZyjV9Rwv2lYONZf1Xm0IuDyNq97nwSsxxP3wf5Bwy15K5rOvVKMtJ127jJBmxFUanSAOjgFRxgrA==} peerDependencies: devtools-protocol: '*' dependencies: devtools-protocol: 0.0.1367902 mitt: 3.0.1 - urlpattern-polyfill: 10.0.0 zod: 3.23.8 dev: true @@ -6826,8 +6883,8 @@ packages: - supports-color dev: true - /[email protected]: - resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + /[email protected]: + resolution: {integrity: sha512-Qil5KwghMzlqd51UXM0b6fyaGHtOC22scxrwrz4A2882LyUMwQjnvaedN1HAeXzphspQ6CpHkzMAWxBTUruDLg==} engines: {node: ^14.18.0 || >=16.10.0} dev: true @@ -6948,8 +7005,8 @@ packages: - encoding dev: true - /[email protected]: - resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} + /[email protected]: + resolution: {integrity: sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==} dependencies: node-fetch: 2.7.0 transitivePeerDependencies: @@ -6994,7 +7051,7 @@ packages: boolbase: 1.0.0 css-what: 6.1.0 domhandler: 5.0.3 - domutils: 3.1.0 + domutils: 3.2.2 nth-check: 2.1.1 dev: true @@ -7030,29 +7087,29 @@ packages: engines: {node: '>= 14'} dev: true - /[email protected]: - resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} + /[email protected]: + resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 es-errors: 1.3.0 is-data-view: 1.0.2 dev: true - /[email protected]: - resolution: {integrity: sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==} + /[email protected]: + resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 es-errors: 1.3.0 is-data-view: 1.0.2 dev: true - /[email protected]: - resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==} + /[email protected]: + resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 es-errors: 1.3.0 is-data-view: 1.0.2 dev: true @@ -7366,8 +7423,8 @@ packages: domelementtype: 2.3.0 dev: true - /[email protected]: - resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} + /[email protected]: + resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==} dependencies: dom-serializer: 2.0.0 domelementtype: 2.3.0 @@ -7436,8 +7493,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true - /[email protected]: - resolution: {integrity: sha512-ck3//9RC+6oss/1Bh9tiAVFy5vfSKbRHAFh7Z3/eTRkEqJeWgymloShB17Vg3Z4nmDNp35vAd1BZ6CMW4Wt6Iw==} + /[email protected]: + resolution: {integrity: sha512-AnJSrt5JpRVgY6dgd5yccguLc5A7oMSF0Kt3fcW+Hp5WTuFbl5upeSFZbMZYy2o7jhmIhU8Ekrd82GhyXUqUUg==} dev: true /[email protected]: @@ -7505,7 +7562,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.10.2 + '@types/node': 22.10.5 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.7.2 @@ -7519,8 +7576,8 @@ packages: - utf-8-validate dev: true - /[email protected]: - resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==} + /[email protected]: + resolution: {integrity: sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ==} engines: {node: '>=10.13.0'} dependencies: graceful-fs: 4.2.11 @@ -7580,25 +7637,26 @@ packages: resolution: {integrity: sha512-jE4i0SMYevwu/xxAuzhly/KTwtj0xDhbzB6m1xPImxTkw8wcCbgarOQPfCVMi5JKVyW7in29pNJCCJrry3Ynnw==} dev: true - /[email protected]: - resolution: {integrity: sha512-Ifco6n3yj2tMZDWNLyloZrytt9lqqlwvS83P3HtaETR0NUOYnIULGGHpktqYGObGy+8wc1okO25p8TjemhImvA==} + /[email protected]: + resolution: {integrity: sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.1 + array-buffer-byte-length: 1.0.2 arraybuffer.prototype.slice: 1.0.4 available-typed-arrays: 1.0.7 call-bind: 1.0.8 call-bound: 1.0.3 - data-view-buffer: 1.0.1 - data-view-byte-length: 1.0.1 - data-view-byte-offset: 1.0.0 + data-view-buffer: 1.0.2 + data-view-byte-length: 1.0.2 + data-view-byte-offset: 1.0.1 es-define-property: 1.0.1 es-errors: 1.3.0 es-object-atoms: 1.0.0 - es-set-tostringtag: 2.0.3 + es-set-tostringtag: 2.1.0 es-to-primitive: 1.3.0 - function.prototype.name: 1.1.7 - get-intrinsic: 1.2.6 + function.prototype.name: 1.1.8 + get-intrinsic: 1.2.7 + get-proto: 1.0.1 get-symbol-description: 1.1.0 globalthis: 1.0.4 gopd: 1.2.0 @@ -7610,28 +7668,30 @@ packages: is-array-buffer: 3.0.5 is-callable: 1.2.7 is-data-view: 1.0.2 - is-negative-zero: 2.0.3 is-regex: 1.2.1 - is-shared-array-buffer: 1.0.3 + is-shared-array-buffer: 1.0.4 is-string: 1.1.1 - is-typed-array: 1.1.14 + is-typed-array: 1.1.15 is-weakref: 1.1.0 - math-intrinsics: 1.0.0 + math-intrinsics: 1.1.0 object-inspect: 1.13.3 object-keys: 1.1.1 - object.assign: 4.1.5 - regexp.prototype.flags: 1.5.3 + object.assign: 4.1.7 + own-keys: 1.0.1 + regexp.prototype.flags: 1.5.4 safe-array-concat: 1.1.3 + safe-push-apply: 1.0.0 safe-regex-test: 1.1.0 + set-proto: 1.0.0 string.prototype.trim: 1.2.10 string.prototype.trimend: 1.0.9 string.prototype.trimstart: 1.0.8 - typed-array-buffer: 1.0.2 - typed-array-byte-length: 1.0.1 - typed-array-byte-offset: 1.0.3 + typed-array-buffer: 1.0.3 + typed-array-byte-length: 1.0.3 + typed-array-byte-offset: 1.0.4 typed-array-length: 1.0.7 unbox-primitive: 1.1.0 - which-typed-array: 1.1.16 + which-typed-array: 1.1.18 dev: true /[email protected]: @@ -7644,8 +7704,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /[email protected]: - resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + /[email protected]: + resolution: {integrity: sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==} dev: true /[email protected]: @@ -7655,11 +7715,12 @@ packages: es-errors: 1.3.0 dev: true - /[email protected]: - resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} + /[email protected]: + resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.6 + es-errors: 1.3.0 + get-intrinsic: 1.2.7 has-tostringtag: 1.0.2 hasown: 2.0.2 dev: true @@ -7802,8 +7863,8 @@ packages: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: debug: 3.2.7 - is-core-module: 2.16.0 - resolve: 1.22.9 + is-core-module: 2.16.1 + resolve: 1.22.10 transitivePeerDependencies: - supports-color dev: true @@ -7867,12 +7928,12 @@ packages: eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected]) hasown: 2.0.2 - is-core-module: 2.16.0 + is-core-module: 2.16.1 is-glob: 4.0.3 minimatch: 3.1.2 object.fromentries: 2.0.8 object.groupby: 1.0.3 - object.values: 1.2.0 + object.values: 1.2.1 semver: 6.3.1 string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 @@ -8148,6 +8209,10 @@ packages: engines: {'0': node >=0.6.0} dev: true + /[email protected]: + resolution: {integrity: sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==} + dev: true + /[email protected]: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true @@ -8195,12 +8260,12 @@ packages: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} dev: true - /[email protected]: - resolution: {integrity: sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==} + /[email protected]: + resolution: {integrity: sha512-5JnBCWpFlMo0a3ciDy/JckMzzv1U9coZrIhedq+HXxxUfDTAiS0LA8OKVao4G9BxmCVck/jtA5r3KAtRWEyD8Q==} dev: true - /[email protected]: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + /[email protected]: + resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==} dependencies: reusify: 1.0.4 dev: true @@ -8524,11 +8589,12 @@ packages: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} dev: true - /[email protected]: - resolution: {integrity: sha512-2g4x+HqTJKM9zcJqBSpjoRmdcPFtJM60J3xJisTQSXBWka5XqyBN/2tNUgma1mztTXyDuUsEtYe5qcs7xYzYQA==} + /[email protected]: + resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 + call-bound: 1.0.3 define-properties: 1.2.1 functions-have-names: 1.2.3 hasown: 2.0.2 @@ -8586,20 +8652,20 @@ packages: engines: {node: '>=18'} dev: true - /[email protected]: - resolution: {integrity: sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==} + /[email protected]: + resolution: {integrity: sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==} engines: {node: '>= 0.4'} dependencies: call-bind-apply-helpers: 1.0.1 - dunder-proto: 1.0.1 es-define-property: 1.0.1 es-errors: 1.3.0 es-object-atoms: 1.0.0 function-bind: 1.1.2 + get-proto: 1.0.1 gopd: 1.2.0 has-symbols: 1.1.0 hasown: 2.0.2 - math-intrinsics: 1.0.0 + math-intrinsics: 1.1.0 dev: true /[email protected]: @@ -8607,6 +8673,14 @@ packages: engines: {node: '>=12.17'} dev: true + /[email protected]: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.0.0 + dev: true + /[email protected]: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} @@ -8625,7 +8699,7 @@ packages: dependencies: call-bound: 1.0.3 es-errors: 1.3.0 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 dev: true /[email protected]: @@ -8762,7 +8836,7 @@ packages: resolution: {integrity: sha512-Phyp9fMfA00J3sZbJxbbB4jC55b7DBjE3F6poyL3wKMEBVKA79q6BGuHcTiM28yOzVql0NDbRL8MLLh8Iwk9Dg==} engines: {node: '>=14'} dependencies: - '@grpc/grpc-js': 1.12.4 + '@grpc/grpc-js': 1.12.5 '@grpc/proto-loader': 0.7.13 '@types/long': 4.0.2 abort-controller: 3.0.0 @@ -8800,7 +8874,7 @@ packages: resolution: {integrity: sha512-06r73IoGaAIpzT+DRPnw7V5BXvZ5mjy1OcKqSPX+ZHOgbLxT+lJfz8IN83z/sbA3t55ZX88MfDaaCjDGdveVIA==} engines: {node: '>=12'} dependencies: - '@grpc/grpc-js': 1.12.4 + '@grpc/grpc-js': 1.12.5 dev: true /[email protected]([email protected]): @@ -8864,8 +8938,9 @@ packages: ansi-regex: 2.1.1 dev: true - /[email protected]: - resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + /[email protected]: + resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==} + engines: {node: '>= 0.4'} dev: true /[email protected]: @@ -8934,7 +9009,7 @@ packages: dependencies: domelementtype: 2.3.0 domhandler: 5.0.3 - domutils: 3.1.0 + domutils: 3.2.2 entities: 4.5.0 dev: true @@ -9293,25 +9368,28 @@ packages: dependencies: call-bind: 1.0.8 call-bound: 1.0.3 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 dev: true /[email protected]: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true - /[email protected]: - resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} + /[email protected]: + resolution: {integrity: sha512-GExz9MtyhlZyXYLxzlJRj5WUCE661zhDa1Yna52CN57AJsymh+DvXXjyveSioqSRdxvUrdKdvqB1b5cVKsNpWQ==} engines: {node: '>= 0.4'} dependencies: + call-bound: 1.0.3 + get-proto: 1.0.1 has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 dev: true /[email protected]: resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} engines: {node: '>= 0.4'} dependencies: - has-bigints: 1.0.2 + has-bigints: 1.1.0 dev: true /[email protected]: @@ -9341,8 +9419,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /[email protected]: - resolution: {integrity: sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==} + /[email protected]: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} engines: {node: '>= 0.4'} dependencies: hasown: 2.0.2 @@ -9353,8 +9431,8 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bound: 1.0.3 - get-intrinsic: 1.2.6 - is-typed-array: 1.1.14 + get-intrinsic: 1.2.7 + is-typed-array: 1.1.15 dev: true /[email protected]: @@ -9410,11 +9488,14 @@ packages: get-east-asian-width: 1.3.0 dev: true - /[email protected]: - resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} + /[email protected]: + resolution: {integrity: sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==} engines: {node: '>= 0.4'} dependencies: + call-bound: 1.0.3 + get-proto: 1.0.1 has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 dev: true /[email protected]: @@ -9458,11 +9539,6 @@ packages: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} dev: true - /[email protected]: - resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} - engines: {node: '>= 0.4'} - dev: true - /[email protected]: resolution: {integrity: sha512-tUdRRAnhT+OtCZR/LxZelH/C7QtjtFrTu5tXCA8pl55eTUElUHT+GPYV8MBMBvea/j+NxQqVt3LbWMRir7Gx9g==} engines: {node: '>=16'} @@ -9553,11 +9629,11 @@ packages: engines: {node: '>= 0.4'} dev: true - /[email protected]: - resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} + /[email protected]: + resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 dev: true /[email protected]: @@ -9586,11 +9662,11 @@ packages: safe-regex-test: 1.1.0 dev: true - /[email protected]: - resolution: {integrity: sha512-lQUsHzcTb7rH57dajbOuZEuMDXjs9f04ZloER4QOpjpKcaw4f98BRUrs8aiO9Z4G7i7B0Xhgarg6SCgYcYi8Nw==} + /[email protected]: + resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.16 + which-typed-array: 1.1.18 dev: true /[email protected]: @@ -9623,7 +9699,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bound: 1.0.3 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 dev: true /[email protected]: @@ -9812,13 +9888,13 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 22.10.2 + '@types/node': 22.10.5 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /[email protected]: - resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} + /[email protected]: + resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} hasBin: true dev: true @@ -9896,11 +9972,12 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true - /[email protected]: - resolution: {integrity: sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg==} + /[email protected]: + resolution: {integrity: sha512-Lp6HbbBgosLmJbjx0pBLbgvx68FaFU1sdkmBuckmhhJ88kL13OA51CDtR2yJB50eCNMH9wRqtQNNiAqQH4YXnA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 + call-bound: 1.0.3 isarray: 2.0.5 jsonify: 0.0.1 object-keys: 1.1.1 @@ -10140,7 +10217,7 @@ packages: socket.io: 4.8.1 source-map: 0.6.1 tmp: 0.2.3 - ua-parser-js: 0.7.39 + ua-parser-js: 0.7.40 yargs: 16.2.0 transitivePeerDependencies: - bufferutil @@ -10235,7 +10312,7 @@ packages: fresh: 0.5.2 http-assert: 1.5.0 http-errors: 1.8.1 - is-generator-function: 1.0.10 + is-generator-function: 1.1.0 koa-compose: 4.1.0 koa-convert: 2.0.0 on-finished: 2.4.1 @@ -10630,8 +10707,8 @@ packages: resolution: {integrity: sha512-q9JtQJKjpsVxCRVgQ+WapguSbKC3SQ5HEzFGPAJMStgh3QjCawp00UKv3MTTAArTmGmmPUvllHZoNbZ3gs0I+Q==} dev: true - /[email protected]: - resolution: {integrity: sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==} + /[email protected]: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} engines: {node: '>= 0.4'} dev: true @@ -10640,8 +10717,8 @@ packages: engines: {node: '>= 0.6'} dev: true - /[email protected]: - resolution: {integrity: sha512-q9MmZXd2rRWHS6GU3WEm3HyiXZyyoA1DqdOhEq0lxPBmKb5S7IAOwX0RgUCwJfqjelDCySa5h8ujOy24LqsWcw==} + /[email protected]: + resolution: {integrity: sha512-vR/g1SgqvKJgAyYla+06G4p/EOcEmwhYuVb1yc1ixcKf8o/sh7Zngv63957ZSNd1xrZJoinmNyDf2LzuP8WJXw==} engines: {node: '>= 4.0.0'} dependencies: '@jsonjoy.com/json-pack': 1.1.1([email protected]) @@ -10988,7 +11065,7 @@ packages: dependencies: '@angular/compiler-cli': 19.1.0-next.4(@angular/[email protected])([email protected]) '@rollup/plugin-json': 6.1.0([email protected]) - '@rollup/wasm-node': 4.28.1 + '@rollup/wasm-node': 4.30.0 ajv: 8.17.1 ansi-colors: 4.1.3 browserslist: 4.24.3 @@ -11298,12 +11375,14 @@ packages: engines: {node: '>= 0.4'} dev: true - /[email protected]: - resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} + /[email protected]: + resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 + call-bound: 1.0.3 define-properties: 1.2.1 + es-object-atoms: 1.0.0 has-symbols: 1.1.0 object-keys: 1.1.1 dev: true @@ -11314,7 +11393,7 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-object-atoms: 1.0.0 dev: true @@ -11324,14 +11403,15 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 dev: true - /[email protected]: - resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} + /[email protected]: + resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 + call-bound: 1.0.3 define-properties: 1.2.1 es-object-atoms: 1.0.0 dev: true @@ -11458,6 +11538,15 @@ packages: engines: {node: '>=0.10.0'} dev: true + /[email protected]: + resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.7 + object-keys: 1.1.1 + safe-push-apply: 1.0.0 + dev: true + /[email protected]: resolution: {integrity: sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==} engines: {node: '>=8'} @@ -11671,7 +11760,7 @@ packages: cross-spawn: 7.0.6 find-yarn-workspace-root: 2.0.0 fs-extra: 9.1.0 - json-stable-stringify: 1.1.1 + json-stable-stringify: 1.2.1 klaw-sync: 6.0.0 minimist: 1.2.8 open: 7.4.2 @@ -11679,7 +11768,7 @@ packages: semver: 7.6.3 slash: 2.0.0 tmp: 0.0.33 - yaml: 2.6.1 + yaml: 2.7.0 dev: true /[email protected]: @@ -11797,7 +11886,7 @@ packages: /[email protected]: resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==} dependencies: - readable-stream: 4.5.2 + readable-stream: 4.6.0 split2: 4.2.0 dev: true @@ -11820,7 +11909,7 @@ packages: on-exit-leak-free: 2.1.2 pino-abstract-transport: 2.0.0 pino-std-serializers: 7.0.0 - process-warning: 4.0.0 + process-warning: 4.0.1 quick-format-unescaped: 4.0.4 real-require: 0.2.0 safe-stable-stringify: 2.5.0 @@ -11896,7 +11985,7 @@ packages: optional: true dependencies: cosmiconfig: 9.0.0([email protected]) - jiti: 1.21.6 + jiti: 1.21.7 postcss: 8.4.49 semver: 7.6.3 webpack: 5.97.1([email protected]) @@ -11994,8 +12083,8 @@ packages: resolution: {integrity: sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==} dev: true - /[email protected]: - resolution: {integrity: sha512-/MyYDxttz7DfGMMHiysAsFE4qF+pQYAA8ziO/3NcRVrQ5fSk+Mns4QZA/oRPFzvcqNoVJXQNWNAsdwBXLUkQKw==} + /[email protected]: + resolution: {integrity: sha512-3c2LzQ3rY9d0hc1emcsHhfT9Jwz0cChib/QN89oME2R451w5fy3f0afAhERFZAwrbDU43wk12d0ORBpDVME50Q==} dev: true /[email protected]: @@ -12065,7 +12154,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 22.10.2 + '@types/node': 22.10.5 long: 5.2.3 dev: true @@ -12185,12 +12274,12 @@ packages: - utf-8-validate dev: true - /[email protected]: - resolution: {integrity: sha512-pQAY7+IFAndWDkDodsQGguW1/ifV5OMlGXJDspwtK49Asb7poJZ/V5rXJxVSpq57bWrJasjQBZ1X27z1oWVq4Q==} + /[email protected]: + resolution: {integrity: sha512-3HZ2/7hdDKZvZQ7dhhITOUg4/wOrDRjyK2ZBllRB0ZCOi9u0cwq1ACHDjBB+nX+7+kltHjQvBRdeY7+W0T+7Gg==} engines: {node: '>=18'} dependencies: '@puppeteer/browsers': 2.6.1 - chromium-bidi: 0.8.0([email protected]) + chromium-bidi: 0.11.0([email protected]) debug: 4.4.0([email protected]) devtools-protocol: 0.0.1367902 typed-query-selector: 2.12.0 @@ -12277,7 +12366,7 @@ packages: '@glideapps/ts-necessities': 2.2.3 browser-or-node: 3.0.0 collection-utils: 1.0.1 - cross-fetch: 4.0.0 + cross-fetch: 4.1.0 is-url: 1.2.4 js-base64: 3.7.7 lodash: 4.17.21 @@ -12287,7 +12376,7 @@ packages: unicode-properties: 1.4.1 urijs: 1.19.11 wordwrap: 1.0.0 - yaml: 2.6.1 + yaml: 2.7.0 transitivePeerDependencies: - encoding dev: true @@ -12345,6 +12434,17 @@ packages: string_decoder: 1.3.0 dev: true + /[email protected]: + resolution: {integrity: sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + abort-controller: 3.0.0 + buffer: 6.0.3 + events: 3.3.0 + process: 0.11.10 + string_decoder: 1.3.0 + dev: true + /[email protected]: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -12366,7 +12466,7 @@ packages: resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} engines: {node: '>= 0.10'} dependencies: - resolve: 1.22.9 + resolve: 1.22.10 dev: true /[email protected]: @@ -12377,17 +12477,17 @@ packages: resolution: {integrity: sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==} dev: true - /[email protected]: - resolution: {integrity: sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==} + /[email protected]: + resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - dunder-proto: 1.0.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-errors: 1.3.0 - get-intrinsic: 1.2.6 - gopd: 1.2.0 + es-object-atoms: 1.0.0 + get-intrinsic: 1.2.7 + get-proto: 1.0.1 which-builtin-type: 1.2.1 dev: true @@ -12416,13 +12516,15 @@ packages: resolution: {integrity: sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg==} dev: true - /[email protected]: - resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} + /[email protected]: + resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 define-properties: 1.2.1 es-errors: 1.3.0 + get-proto: 1.0.1 + gopd: 1.2.0 set-function-name: 2.0.2 dev: true @@ -12524,11 +12626,12 @@ packages: source-map: 0.6.1 dev: true - /[email protected]: - resolution: {integrity: sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==} + /[email protected]: + resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + engines: {node: '>= 0.4'} hasBin: true dependencies: - is-core-module: 2.16.0 + is-core-module: 2.16.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true @@ -12622,7 +12725,7 @@ packages: spdx-expression-validate: 2.0.0 dev: true - /[email protected](@types/[email protected])([email protected]): + /[email protected](@types/[email protected])([email protected]): resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: @@ -12633,7 +12736,7 @@ packages: optional: true dependencies: '@rollup/pluginutils': 3.1.0([email protected]) - '@types/node': 18.19.68 + '@types/node': 18.19.70 rollup: 4.30.0 source-map-resolve: 0.6.0 dev: true @@ -12723,7 +12826,7 @@ packages: dependencies: call-bind: 1.0.8 call-bound: 1.0.3 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 has-symbols: 1.1.0 isarray: 2.0.5 dev: true @@ -12736,6 +12839,14 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: true + /[email protected]: + resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==} + engines: {node: '>= 0.4'} + dependencies: + es-errors: 1.3.0 + isarray: 2.0.5 + dev: true + /[email protected]: resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} engines: {node: '>= 0.4'} @@ -13009,7 +13120,7 @@ packages: define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 gopd: 1.2.0 has-property-descriptors: 1.0.2 dev: true @@ -13024,6 +13135,15 @@ packages: has-property-descriptors: 1.0.2 dev: true + /[email protected]: + resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==} + engines: {node: '>= 0.4'} + dependencies: + dunder-proto: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + dev: true + /[email protected]: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: true @@ -13084,7 +13204,7 @@ packages: dependencies: call-bound: 1.0.3 es-errors: 1.3.0 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 object-inspect: 1.13.3 dev: true @@ -13094,7 +13214,7 @@ packages: dependencies: call-bound: 1.0.3 es-errors: 1.3.0 - get-intrinsic: 1.2.6 + get-intrinsic: 1.2.7 object-inspect: 1.13.3 side-channel-map: 1.0.1 dev: true @@ -13493,7 +13613,7 @@ packages: queue-tick: 1.0.1 text-decoder: 1.2.3 optionalDependencies: - bare-events: 2.5.0 + bare-events: 2.5.2 dev: true /[email protected]: @@ -13536,7 +13656,7 @@ packages: call-bound: 1.0.3 define-data-property: 1.1.4 define-properties: 1.2.1 - es-abstract: 1.23.6 + es-abstract: 1.23.9 es-object-atoms: 1.0.0 has-property-descriptors: 1.0.2 dev: true @@ -13830,15 +13950,15 @@ packages: resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==} dev: true - /[email protected]: - resolution: {integrity: sha512-nygxy9n2PBUFQUtAXAc122gGo+04/j5qr5TGQFZTHafTKYvmARVXt2cA5rgero2/dnXUfkdPtiJoKmrd3T+wdA==} + /[email protected]: + resolution: {integrity: sha512-LRbChn2YRpic1KxY+ldL1pGXN/oVvKfCVufwfVzEQdFYNo39uF7AJa/WXdo+gYO7PTvdfkCPCed6Hkvz/kR7jg==} dev: true - /[email protected]: - resolution: {integrity: sha512-Oh/CqRQ1NXNY7cy9NkTPUauOWiTro0jEYZTioGbOmcQh6EC45oribyIMJp0OJO3677r13tO6SKdWoGZUx2BDFw==} + /[email protected]: + resolution: {integrity: sha512-LQIHmHnuzfZgZWAf2HzL83TIIrD8NhhI0DVxqo9/FdOd4ilec+NTNZOlDZf7EwrTNoutccbsHjvWHYXLAtvxjw==} hasBin: true dependencies: - tldts-core: 6.1.69 + tldts-core: 6.1.71 dev: true /[email protected]: @@ -13884,7 +14004,7 @@ packages: resolution: {integrity: sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==} engines: {node: '>=16'} dependencies: - tldts: 6.1.69 + tldts: 6.1.71 dev: true /[email protected]: @@ -13925,7 +14045,16 @@ packages: typescript: 5.7.2 dev: true - /[email protected](@types/[email protected])([email protected]): + /[email protected]([email protected]): + resolution: {integrity: sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: 5.7.2 + dependencies: + typescript: 5.7.2 + dev: true + + /[email protected](@types/[email protected])([email protected]): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -13944,7 +14073,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 18.19.68 + '@types/node': 18.19.70 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 @@ -14038,28 +14167,28 @@ packages: mime-types: 2.1.35 dev: true - /[email protected]: - resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} + /[email protected]: + resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 es-errors: 1.3.0 - is-typed-array: 1.1.14 + is-typed-array: 1.1.15 dev: true - /[email protected]: - resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} + /[email protected]: + resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 for-each: 0.3.3 gopd: 1.2.0 has-proto: 1.2.0 - is-typed-array: 1.1.14 + is-typed-array: 1.1.15 dev: true - /[email protected]: - resolution: {integrity: sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==} + /[email protected]: + resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.7 @@ -14067,8 +14196,8 @@ packages: for-each: 0.3.3 gopd: 1.2.0 has-proto: 1.2.0 - is-typed-array: 1.1.14 - reflect.getprototypeof: 1.0.8 + is-typed-array: 1.1.15 + reflect.getprototypeof: 1.0.10 dev: true /[email protected]: @@ -14078,9 +14207,9 @@ packages: call-bind: 1.0.8 for-each: 0.3.3 gopd: 1.2.0 - is-typed-array: 1.1.14 + is-typed-array: 1.1.15 possible-typed-array-names: 1.0.0 - reflect.getprototypeof: 1.0.8 + reflect.getprototypeof: 1.0.10 dev: true /[email protected]: @@ -14111,13 +14240,13 @@ packages: engines: {node: '>=12.17'} dev: true - /[email protected]: - resolution: {integrity: sha512-IZ6acm6RhQHNibSt7+c09hhvsKy9WUr4DVbeq9U8o71qxyYtJpQeDxQnMrVqnIFMLcQjHO0I9wgfO2vIahht4w==} + /[email protected]: + resolution: {integrity: sha512-us1E3K+3jJppDBa3Tl0L3MOJiGhe1C6P0+nIvQAFYbxlMAx0h81eOwLmU57xgqToduDDPx3y5QsdjPfDu+FgOQ==} hasBin: true dev: true - /[email protected]: - resolution: {integrity: sha512-k24RCVWlEcjkdOxYmVJgeD/0a1TiSpqLg+ZalVGV9lsnr4yqu0w7tX/x2xX6G4zpkgQnRf89lxuZ1wsbjXM8lw==} + /[email protected]: + resolution: {integrity: sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==} hasBin: true dev: true @@ -14133,7 +14262,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bound: 1.0.3 - has-bigints: 1.0.2 + has-bigints: 1.1.0 has-symbols: 1.1.0 which-boxed-primitive: 1.1.1 dev: true @@ -14161,7 +14290,7 @@ packages: /[email protected]: resolution: {integrity: sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==} dependencies: - consola: 3.2.3 + consola: 3.3.3 defu: 6.1.4 mime: 3.0.0 node-fetch-native: 1.6.4 @@ -14268,10 +14397,6 @@ packages: resolution: {integrity: sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==} dev: true - /[email protected]: - resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==} - dev: true - /[email protected]: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true @@ -14281,8 +14406,8 @@ packages: engines: {node: '>= 0.4.0'} dev: true - /[email protected]: - resolution: {integrity: sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==} + /[email protected]: + resolution: {integrity: sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==} hasBin: true dev: true @@ -14440,7 +14565,7 @@ packages: extsprintf: 1.4.1 dev: true - /[email protected](@types/[email protected])([email protected])([email protected])([email protected]): + /[email protected](@types/[email protected])([email protected])([email protected])([email protected]): resolution: {integrity: sha512-Cmuo5P0ENTN6HxLSo6IHsjCLn/81Vgrp81oaiFFMRa8gGDj5xEjIcEpf2ZymZtZR8oU0P2JX5WuUp/rlXcHkAw==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -14480,7 +14605,7 @@ packages: yaml: optional: true dependencies: - '@types/node': 18.19.68 + '@types/node': 18.19.70 esbuild: 0.24.2 less: 4.2.1 postcss: 8.4.49 @@ -14491,7 +14616,7 @@ packages: fsevents: 2.3.3 dev: true - /[email protected](@types/[email protected])([email protected])([email protected])([email protected]): + /[email protected](@types/[email protected])([email protected])([email protected])([email protected]): resolution: {integrity: sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -14531,7 +14656,7 @@ packages: yaml: optional: true dependencies: - '@types/node': 18.19.68 + '@types/node': 18.19.70 esbuild: 0.24.2 less: 4.2.1 postcss: 8.4.49 @@ -14621,7 +14746,7 @@ packages: optional: true dependencies: colorette: 2.0.20 - memfs: 4.15.0 + memfs: 4.15.3 mime-types: 2.1.35 on-finished: 2.4.1 range-parser: 1.2.1 @@ -14723,8 +14848,8 @@ packages: acorn: 8.14.0 browserslist: 4.24.3 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.17.1 - es-module-lexer: 1.5.4 + enhanced-resolve: 5.18.0 + es-module-lexer: 1.6.0 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 @@ -14789,18 +14914,18 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bound: 1.0.3 - function.prototype.name: 1.1.7 + function.prototype.name: 1.1.8 has-tostringtag: 1.0.2 - is-async-function: 2.0.0 + is-async-function: 2.1.0 is-date-object: 1.1.0 is-finalizationregistry: 1.1.1 - is-generator-function: 1.0.10 + is-generator-function: 1.1.0 is-regex: 1.2.1 is-weakref: 1.1.0 isarray: 2.0.5 which-boxed-primitive: 1.1.1 which-collection: 1.0.2 - which-typed-array: 1.1.16 + which-typed-array: 1.1.18 dev: true /[email protected]: @@ -14817,12 +14942,13 @@ packages: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} dev: true - /[email protected]: - resolution: {integrity: sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==} + /[email protected]: + resolution: {integrity: sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.8 + call-bound: 1.0.3 for-each: 0.3.3 gopd: 1.2.0 has-tostringtag: 1.0.2 @@ -15030,6 +15156,12 @@ packages: hasBin: true dev: true + /[email protected]: + resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /[email protected]: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} engines: {node: '>=6'} @@ -15131,7 +15263,7 @@ packages: resolution: {integrity: sha512-9oxn0IIjbCZkJ67L+LkhYWRyAy7axphb3VgE2MBDlOqnmHMPWGYMxJxBYFueFq/JGY2GMwS0rU+UCLunEmy5UA==} dev: true - github.com/angular/bazel-builds/8cd573656c96422cd30c7290361a539df9b02b1a(@angular/[email protected])(@bazel/[email protected])(@bazel/[email protected])(@rollup/[email protected])(@rollup/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected]): + github.com/angular/bazel-builds/8cd573656c96422cd30c7290361a539df9b02b1a(@angular/[email protected])(@bazel/[email protected])(@bazel/[email protected])(@rollup/[email protected])(@rollup/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected]): resolution: {tarball: https://codeload.github.com/angular/bazel-builds/tar.gz/8cd573656c96422cd30c7290361a539df9b02b1a} id: github.com/angular/bazel-builds/8cd573656c96422cd30c7290361a539df9b02b1a name: '@angular/bazel' @@ -15155,12 +15287,12 @@ packages: '@angular/compiler-cli': 19.1.0-next.4(@angular/[email protected])([email protected]) '@bazel/concatjs': 5.8.1([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]) '@bazel/worker': 5.8.1 - '@microsoft/api-extractor': 7.48.1(@types/[email protected]) + '@microsoft/api-extractor': 7.48.1(@types/[email protected]) '@rollup/plugin-commonjs': 28.0.2([email protected]) '@rollup/plugin-node-resolve': 13.3.0([email protected]) magic-string: 0.30.17 rollup: 4.30.0 - rollup-plugin-sourcemaps: 0.6.3(@types/[email protected])([email protected]) + rollup-plugin-sourcemaps: 0.6.3(@types/[email protected])([email protected]) terser: 5.37.0 tslib: 2.8.1 typescript: 5.7.2 @@ -15175,7 +15307,7 @@ packages: version: 0.0.0-f0a9343aa86aac0222d035814dc919282fbdaa19 dependencies: '@angular/benchpress': 0.3.0([email protected])([email protected]) - '@angular/build': 19.1.0-next.2(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]) + '@angular/build': 19.1.0-next.2(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@angular/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]) '@babel/core': 7.26.0 '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/[email protected]) '@bazel/buildifier': 6.3.3 @@ -15185,10 +15317,10 @@ packages: '@bazel/runfiles': 5.8.1 '@bazel/terser': 5.8.1([email protected]) '@bazel/typescript': 5.8.1([email protected]) - '@microsoft/api-extractor': 7.48.1(@types/[email protected]) + '@microsoft/api-extractor': 7.48.1(@types/[email protected]) '@types/browser-sync': 2.29.0 '@types/minimatch': 5.1.2 - '@types/node': 18.19.68 + '@types/node': 18.19.70 '@types/selenium-webdriver': 4.1.27 '@types/send': 0.17.4 '@types/tmp': 0.2.6 @@ -15204,7 +15336,7 @@ packages: true-case-path: 2.2.1 tslib: 2.8.1 typescript: 5.7.2 - uuid: 11.0.3 + uuid: 11.0.4 yargs: 17.7.2 transitivePeerDependencies: - '@angular/compiler' @@ -15251,7 +15383,7 @@ packages: '@types/semver': 7.5.8 '@types/supports-color': 8.1.3 '@yarnpkg/lockfile': 1.1.0 - chalk: 5.3.0 + chalk: 5.4.1 semver: 7.6.3 supports-color: 10.0.0 typed-graphqlify: 3.1.6 diff --git a/yarn.lock b/yarn.lock index 0248c5286139..d3b51d5b191a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2440,12 +2440,12 @@ __metadata: linkType: hard "@grpc/grpc-js@npm:^1.10.9, @grpc/grpc-js@npm:^1.7.0": - version: 1.12.4 - resolution: "@grpc/grpc-js@npm:1.12.4" + version: 1.12.5 + resolution: "@grpc/grpc-js@npm:1.12.5" dependencies: "@grpc/proto-loader": "npm:^0.7.13" "@js-sdsl/ordered-map": "npm:^4.4.2" - checksum: 10c0/008a3bbf65a754e4d5a3bf373e0866e4fd91628001e0329c60dfb9ecdf200cd26e9a1dc25ed45be59776990027674904c9cb2e6bbf5dbb14081b5c748b15b770 + checksum: 10c0/1e539d98951e6ff6611e3cedc8eec343625fdab76c7683aa7fca605b3de17d8aabaf2f78d7e95400e68dc8e249cda498781e9a3481bb6b713fc167da3fe59a8e languageName: node linkType: hard @@ -2534,24 +2534,7 @@ __metadata: languageName: node linkType: hard -"@inquirer/core@npm:^10.1.1": - version: 10.1.1 - resolution: "@inquirer/core@npm:10.1.1" - dependencies: - "@inquirer/figures": "npm:^1.0.8" - "@inquirer/type": "npm:^3.0.1" - ansi-escapes: "npm:^4.3.2" - cli-width: "npm:^4.1.0" - mute-stream: "npm:^2.0.0" - signal-exit: "npm:^4.1.0" - strip-ansi: "npm:^6.0.1" - wrap-ansi: "npm:^6.2.0" - yoctocolors-cjs: "npm:^2.1.2" - checksum: 10c0/7c3b50b5a8c673d2b978684c39b8d65249145cbc859b598d4d0be9af1d2f30731228996ff8143a8fca1b776f76040d83ae241807291144f6205c23b93e33d408 - languageName: node - linkType: hard - -"@inquirer/core@npm:^10.1.2": +"@inquirer/core@npm:^10.1.1, @inquirer/core@npm:^10.1.2": version: 10.1.2 resolution: "@inquirer/core@npm:10.1.2" dependencies: @@ -2594,13 +2577,6 @@ __metadata: languageName: node linkType: hard -"@inquirer/figures@npm:^1.0.8": - version: 1.0.8 - resolution: "@inquirer/figures@npm:1.0.8" - checksum: 10c0/34d287ff1fd16476c58bbd5b169db315f8319b5ffb09f81a1bb9aabd4165114e7406b1f418d021fd9cd48923008446e3eec274bb818f378ea132a0450bbc91d4 - languageName: node - linkType: hard - "@inquirer/figures@npm:^1.0.9": version: 1.0.9 resolution: "@inquirer/figures@npm:1.0.9" @@ -2716,16 +2692,7 @@ __metadata: languageName: node linkType: hard -"@inquirer/type@npm:^3.0.1": - version: 3.0.1 - resolution: "@inquirer/type@npm:3.0.1" - peerDependencies: - "@types/node": ">=18" - checksum: 10c0/c8612362d382114a318dbb523de7b1f54dc6bc6d3016c6eaf299b6a32486b92b0dfb1b4cfc6fe9d99496d15fbb721873a1bd66819f796c8bb09853a3b808812d - languageName: node - linkType: hard - -"@inquirer/type@npm:^3.0.2": +"@inquirer/type@npm:^3.0.1, @inquirer/type@npm:^3.0.2": version: 3.0.2 resolution: "@inquirer/type@npm:3.0.2" peerDependencies: @@ -3477,38 +3444,38 @@ __metadata: linkType: hard "@octokit/core@npm:^6.1.2": - version: 6.1.2 - resolution: "@octokit/core@npm:6.1.2" + version: 6.1.3 + resolution: "@octokit/core@npm:6.1.3" dependencies: "@octokit/auth-token": "npm:^5.0.0" - "@octokit/graphql": "npm:^8.0.0" - "@octokit/request": "npm:^9.0.0" - "@octokit/request-error": "npm:^6.0.1" - "@octokit/types": "npm:^13.0.0" + "@octokit/graphql": "npm:^8.1.2" + "@octokit/request": "npm:^9.1.4" + "@octokit/request-error": "npm:^6.1.6" + "@octokit/types": "npm:^13.6.2" before-after-hook: "npm:^3.0.2" universal-user-agent: "npm:^7.0.0" - checksum: 10c0/f73be16a8013f69197b7744de75537d869f3a2061dda25dcde746d23b87f305bbdc7adbfe044ab0755eec32e6d54d61c73f4ca788d214eba8e88648a3133733e + checksum: 10c0/d02506dfb2771b18d0ee620b92deb75f0458cbf92b975b04c9ad3e50b06813d4c98a598bf1a1cae5757d31166c52a1ef55c30b17f2359f30309731e264ea20d0 languageName: node linkType: hard "@octokit/endpoint@npm:^10.0.0": - version: 10.1.1 - resolution: "@octokit/endpoint@npm:10.1.1" + version: 10.1.2 + resolution: "@octokit/endpoint@npm:10.1.2" dependencies: - "@octokit/types": "npm:^13.0.0" + "@octokit/types": "npm:^13.6.2" universal-user-agent: "npm:^7.0.2" - checksum: 10c0/946517241b33db075e7b3fd8abc6952b9e32be312197d07d415dbefb35b93d26afd508f64315111de7cabc2638d4790a9b0b366cf6cc201de5ec6997c7944c8b + checksum: 10c0/36335c46137c401ffaf949a49c268559076600bc4a6a92b9737b748b554c5fa9c7cd275a4ab0d580f4b877bd1ed36095e6132d979c5ab49002b61f0a94ac16e9 languageName: node linkType: hard -"@octokit/graphql@npm:^8.0.0": - version: 8.1.1 - resolution: "@octokit/graphql@npm:8.1.1" +"@octokit/graphql@npm:^8.1.2": + version: 8.1.2 + resolution: "@octokit/graphql@npm:8.1.2" dependencies: - "@octokit/request": "npm:^9.0.0" - "@octokit/types": "npm:^13.0.0" + "@octokit/request": "npm:^9.1.4" + "@octokit/types": "npm:^13.6.2" universal-user-agent: "npm:^7.0.0" - checksum: 10c0/fe68b89b21416f56bc9c0d19bba96a9a8ee567312b6fb764b05ea0649a5e44bec71665a0013e7c34304eb77c20ad7e7a7cf43b87ea27c280350229d71034c131 + checksum: 10c0/58f08ddbb85e334b5dc07c75ca746781484cb63e0d64edfa8205cd69a2d99c87a9279251a2d24bbdf9a3d45708474eb8d834858cd8f4959da726dbffe96e9e4e languageName: node linkType: hard @@ -3550,24 +3517,25 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:^6.0.1": - version: 6.1.5 - resolution: "@octokit/request-error@npm:6.1.5" +"@octokit/request-error@npm:^6.0.1, @octokit/request-error@npm:^6.1.6": + version: 6.1.6 + resolution: "@octokit/request-error@npm:6.1.6" dependencies: - "@octokit/types": "npm:^13.0.0" - checksum: 10c0/37afef6c072d987ddf50b3438bcc974741a22ee7f788172876f92b5228ed43f5c4c1556a1d73153508d6c8d3a3d2344c7fefb6cde8678c7f63c2115b8629c49b + "@octokit/types": "npm:^13.6.2" + checksum: 10c0/cbbed77ddd1d40a1bed36224667c2fac4c20ce375a78d4648745ad1fedc8c2b1d01343b5908979d5b6557736245637eb58efc65d0cd1ef047ea6be74b46c47d2 languageName: node linkType: hard -"@octokit/request@npm:^9.0.0": - version: 9.1.3 - resolution: "@octokit/request@npm:9.1.3" +"@octokit/request@npm:^9.1.4": + version: 9.1.4 + resolution: "@octokit/request@npm:9.1.4" dependencies: "@octokit/endpoint": "npm:^10.0.0" "@octokit/request-error": "npm:^6.0.1" - "@octokit/types": "npm:^13.1.0" + "@octokit/types": "npm:^13.6.2" + fast-content-type-parse: "npm:^2.0.0" universal-user-agent: "npm:^7.0.2" - checksum: 10c0/41c26387ca9b5b3081a17eebea0c7d6b0122f6b2cb21c2fd7ef63ca587a828448e40b33973416f615fed139c659598f2ae7a1370cc103738f0f6f3297b5fc4ab + checksum: 10c0/a5ebfeb1ed185aed5422f5d407153f9c43450051cf99b7da0c4d185926af84efc5ff9b3338a58c7229b4e69b9b4c951045212ef13516433e5e2c21cb1a4cbb54 languageName: node linkType: hard @@ -3583,7 +3551,7 @@ __metadata: languageName: node linkType: hard -"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.6.1, @octokit/types@npm:^13.6.2": +"@octokit/types@npm:^13.6.1, @octokit/types@npm:^13.6.2": version: 13.6.2 resolution: "@octokit/types@npm:13.6.2" dependencies: @@ -3600,11 +3568,11 @@ __metadata: linkType: hard "@opentelemetry/context-async-hooks@npm:^1.26.0": - version: 1.29.0 - resolution: "@opentelemetry/context-async-hooks@npm:1.29.0" + version: 1.30.0 + resolution: "@opentelemetry/context-async-hooks@npm:1.30.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: 10c0/f7b5c6b4cad60021a0f7815016fda1b4b8d364348ecfa7e04fe07dfe9af90caaf4065fa5f9169a65f28b71aaf961672eed3849c42cd6484a9051dec0e5c9de5c + checksum: 10c0/46fef8f3af37227c16cf4e3d9264bfc7cfbe7357cb4266fa10ef32aa3256da6782110bea997d7a6b6815afb540da0a937fb5ecbaaed248c0234f8872bf25e8df languageName: node linkType: hard @@ -4233,8 +4201,8 @@ __metadata: linkType: hard "@rollup/wasm-node@npm:^4.24.0": - version: 4.28.1 - resolution: "@rollup/wasm-node@npm:4.28.1" + version: 4.30.0 + resolution: "@rollup/wasm-node@npm:4.30.0" dependencies: "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" @@ -4243,7 +4211,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/65b3780573884b4fe491406c79879a8a2da19cbadb87090627a1e156dc9bb3ecffec0089a5fc7e2bc0adaca842b50cd0d68831a6e431e97b8011bcdac8015ee9 + checksum: 10c0/5beaac0100795db4e8e44fa55795a577420cfad27a67e93704c59e9e7aa89905b215758a6b1afe079717328ec7fec20606b70a0a7ba4f7e235a4ffac906f7f29 languageName: node linkType: hard @@ -4696,14 +4664,14 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^5.0.0": - version: 5.0.2 - resolution: "@types/express-serve-static-core@npm:5.0.2" + version: 5.0.3 + resolution: "@types/express-serve-static-core@npm:5.0.3" dependencies: "@types/node": "npm:*" "@types/qs": "npm:*" "@types/range-parser": "npm:*" "@types/send": "npm:*" - checksum: 10c0/9f6ee50bd81f0aa6cc9df6ad2c2d221a3a63249da944db58ec8bb8681e77a5b3b3fdb1931bda73beb13cfaf9125731f835fe5256afb6a6da35b0eb08ccbdbfdf + checksum: 10c0/47cacb12d393f4272f46e5c95d7b06f9c32c528ba1cca31b7ee883f6f6ab7e8f40b92fac2333dea6c1f8130e098793f775441f048067514794662944e900189c languageName: node linkType: hard @@ -4905,9 +4873,9 @@ __metadata: linkType: hard "@types/lodash@npm:^4.17.0": - version: 4.17.13 - resolution: "@types/lodash@npm:4.17.13" - checksum: 10c0/c3d0b7efe7933ac0369b99f2f7bff9240d960680fdb74b41ed4bd1b3ca60cca1e31fe4046d9abbde778f941a41bc2a75eb629abf8659fa6c27b66efbbb0802a9 + version: 4.17.14 + resolution: "@types/lodash@npm:4.17.14" + checksum: 10c0/343c6f722e0b39969036a885ad5aad6578479ead83987128c9b994e6b7f2fb9808244d802d4d332396bb09096f720a6c7060de16a492f5460e06a44560360322 languageName: node linkType: hard @@ -4960,11 +4928,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:>=13.7.0": - version: 22.10.2 - resolution: "@types/node@npm:22.10.2" + version: 22.10.5 + resolution: "@types/node@npm:22.10.5" dependencies: undici-types: "npm:~6.20.0" - checksum: 10c0/2c7b71a040f1ef5320938eca8ebc946e6905caa9bbf3d5665d9b3774a8d15ea9fab1582b849a6d28c7fc80756a62c5666bc66b69f42f4d5dafd1ccb193cdb4ac + checksum: 10c0/6a0e7d1fe6a86ef6ee19c3c6af4c15542e61aea2f4cee655b6252efb356795f1f228bc8299921e82924e80ff8eca29b74d9dd0dd5cc1a90983f892f740b480df languageName: node linkType: hard @@ -4976,11 +4944,11 @@ __metadata: linkType: hard "@types/node@npm:^18.13.0, @types/node@npm:^18.19.21": - version: 18.19.68 - resolution: "@types/node@npm:18.19.68" + version: 18.19.70 + resolution: "@types/node@npm:18.19.70" dependencies: undici-types: "npm:~5.26.4" - checksum: 10c0/8c7f01be218c6e3c1e643173662af27e9a2b568f36c0fe83e4295cf7674fe2a0abb4a1c5d7c7abd3345b9114581387dfd3f14b6d0338daebdce9273cd7ba59ab + checksum: 10c0/68866e53b92be60d8840f5c93232d3ae39c71663101decc1d4f1870d9236c3c89e74177b616c2a2cabce116b1356f3e89c57df3e969c9f9b0e0b5c59b5f790f7 languageName: node linkType: hard @@ -5383,16 +5351,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.18.1": - version: 8.18.1 - resolution: "@typescript-eslint/scope-manager@npm:8.18.1" - dependencies: - "@typescript-eslint/types": "npm:8.18.1" - "@typescript-eslint/visitor-keys": "npm:8.18.1" - checksum: 10c0/97c503b2ece79b6c99ca8e6a5f1f40855cf72f17fbf05e42e62d19c2666e7e6f5df9bf71f13dbc4720c5ee0397670ba8052482a90441fbffa901da5f2e739565 - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.19.0": version: 8.19.0 resolution: "@typescript-eslint/scope-manager@npm:8.19.0" @@ -5403,6 +5361,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/scope-manager@npm:8.19.1" + dependencies: + "@typescript-eslint/types": "npm:8.19.1" + "@typescript-eslint/visitor-keys": "npm:8.19.1" + checksum: 10c0/7dca0c28ad27a0c7e26499e0f584f98efdcf34087f46aadc661b36c310484b90655e83818bafd249b5a28c7094a69c54d553f6cd403869bf134f95a9148733f5 + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:8.19.0": version: 8.19.0 resolution: "@typescript-eslint/type-utils@npm:8.19.0" @@ -5418,13 +5386,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.18.1": - version: 8.18.1 - resolution: "@typescript-eslint/types@npm:8.18.1" - checksum: 10c0/0a2ca5f7cdebcc844b6bc1e5afc5d83b563f55917d20e3fea3a17ed39c54b003178e26b5ec535113f45c93c569b46628d9a67defa70c01cbdfa801573fed69a2 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.19.0": version: 8.19.0 resolution: "@typescript-eslint/types@npm:8.19.0" @@ -5432,12 +5393,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.18.1": - version: 8.18.1 - resolution: "@typescript-eslint/typescript-estree@npm:8.18.1" +"@typescript-eslint/types@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/types@npm:8.19.1" + checksum: 10c0/e907bf096d5ed7a812a1e537a98dd881ab5d2d47e072225bfffaa218c1433115a148b27a15744db8374b46dac721617c6d13a1da255fdeb369cf193416533f6e + languageName: node + linkType: hard + +"@typescript-eslint/typescript-estree@npm:8.19.0": + version: 8.19.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.19.0" dependencies: - "@typescript-eslint/types": "npm:8.18.1" - "@typescript-eslint/visitor-keys": "npm:8.18.1" + "@typescript-eslint/types": "npm:8.19.0" + "@typescript-eslint/visitor-keys": "npm:8.19.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -5446,25 +5414,25 @@ __metadata: ts-api-utils: "npm:^1.3.0" peerDependencies: typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/7ecb061dc63c729b23f4f15db5736ca93b1ae633108400e6c31cf8af782494912f25c3683f9f952dbfd10cb96031caba247a1ad406abf5d163639a00ac3ce5a3 + checksum: 10c0/ff47004588e8ff585af740b3e0bda07dc52310dbfeb2317eb4a723935740cf0c1953fc9ba57f14cf192bcfe373c46be833ba29d3303df8b501181bb852c7b822 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.19.0": - version: 8.19.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.19.0" +"@typescript-eslint/typescript-estree@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.19.1" dependencies: - "@typescript-eslint/types": "npm:8.19.0" - "@typescript-eslint/visitor-keys": "npm:8.19.0" + "@typescript-eslint/types": "npm:8.19.1" + "@typescript-eslint/visitor-keys": "npm:8.19.1" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" minimatch: "npm:^9.0.4" semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" + ts-api-utils: "npm:^2.0.0" peerDependencies: typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/ff47004588e8ff585af740b3e0bda07dc52310dbfeb2317eb4a723935740cf0c1953fc9ba57f14cf192bcfe373c46be833ba29d3303df8b501181bb852c7b822 + checksum: 10c0/549d9d565a58a25fc8397a555506f2e8d29a740f5b6ed9105479e22de5aab89d9d535959034a8e9d4115adb435de09ee6987d28e8922052eea577842ddce1a7a languageName: node linkType: hard @@ -5484,27 +5452,17 @@ __metadata: linkType: hard "@typescript-eslint/utils@npm:^8.13.0": - version: 8.18.1 - resolution: "@typescript-eslint/utils@npm:8.18.1" + version: 8.19.1 + resolution: "@typescript-eslint/utils@npm:8.19.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.18.1" - "@typescript-eslint/types": "npm:8.18.1" - "@typescript-eslint/typescript-estree": "npm:8.18.1" + "@typescript-eslint/scope-manager": "npm:8.19.1" + "@typescript-eslint/types": "npm:8.19.1" + "@typescript-eslint/typescript-estree": "npm:8.19.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/1e29408bd8fbda9f3386dabdb2b7471dacff28342d5bd6521ca3b7932df0cae100030d2eac75d946a82cbefa33f78000eed4ce789128fdea069ffeabd4429d80 - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:8.18.1": - version: 8.18.1 - resolution: "@typescript-eslint/visitor-keys@npm:8.18.1" - dependencies: - "@typescript-eslint/types": "npm:8.18.1" - eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/68651ae1825dbd660ea39b4e1d1618f6ad0026fa3a04aecec296750977cab316564e3e2ace8edbebf1ae86bd17d86acc98cac7b6e9aad4e1c666bd26f18706ad + checksum: 10c0/f7d2fe9a2bd8cb3ae6fafe5e465882a6784b2acf81d43d194c579381b92651c2ffc0fca69d2a35eee119f539622752a0e9ec063aaec7576d5d2bfe68b441980d languageName: node linkType: hard @@ -5518,6 +5476,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.19.1" + dependencies: + "@typescript-eslint/types": "npm:8.19.1" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/117537450a099f51f3f0d39186f248ae370bdc1b7f6975dbdbffcfc89e6e1aa47c1870db790d4f778a48f2c1f6cd9c269b63867c12afaa424367c63dabee8fd0 + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.2.0": version: 1.2.1 resolution: "@ungap/structured-clone@npm:1.2.1" @@ -5782,11 +5750,11 @@ __metadata: linkType: hard "@web/browser-logs@npm:^0.4.0": - version: 0.4.0 - resolution: "@web/browser-logs@npm:0.4.0" + version: 0.4.1 + resolution: "@web/browser-logs@npm:0.4.1" dependencies: - errorstacks: "npm:^2.2.0" - checksum: 10c0/5e03c29ddca52060194e9973d1752575f3d9af15168e28f6c6aac97c64c9aec07df843fc643c011ea2183b4987160e241b7cee9f404b3753053ea3a6dc1cfaa6 + errorstacks: "npm:^2.4.1" + checksum: 10c0/64f66392a2054c485dded4622c60967634f976b3d49e2ee7cfcd840896e41c19d2832ac9510409236fafaa768a5cab383ec48991a8805e88eb3374400418aa2a languageName: node linkType: hard @@ -5798,8 +5766,8 @@ __metadata: linkType: hard "@web/dev-server-core@npm:^0.7.2, @web/dev-server-core@npm:^0.7.3": - version: 0.7.4 - resolution: "@web/dev-server-core@npm:0.7.4" + version: 0.7.5 + resolution: "@web/dev-server-core@npm:0.7.5" dependencies: "@types/koa": "npm:^2.11.6" "@types/ws": "npm:^7.4.0" @@ -5819,7 +5787,7 @@ __metadata: parse5: "npm:^6.0.1" picomatch: "npm:^2.2.2" ws: "npm:^7.5.10" - checksum: 10c0/64e9dd0a25a554c07ba880b05a4fafae8231a3d6199642c87fe029e8506610f3a04761a26aa06a55dc277307c75dd3a3364029c1e6ab463fef6888362a417ddc + checksum: 10c0/8162bab8be3612a458a188554a9c3d3008e5d7a6ea33e33ec4b7f016eeab2dd4421a0a4f88c98133e93d336e3a1b62cf62f7ce2fd6647ba57e41ff81efe70877 languageName: node linkType: hard @@ -6525,13 +6493,13 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "array-buffer-byte-length@npm:1.0.1" +"array-buffer-byte-length@npm:^1.0.1, array-buffer-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "array-buffer-byte-length@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.5" - is-array-buffer: "npm:^3.0.4" - checksum: 10c0/f5cdf54527cd18a3d2852ddf73df79efec03829e7373a8322ef5df2b4ef546fb365c19c71d6b42d641cb6bfe0f1a2f19bc0ece5b533295f86d7c3d522f228917 + call-bound: "npm:^1.0.3" + is-array-buffer: "npm:^3.0.5" + checksum: 10c0/74e1d2d996941c7a1badda9cabb7caab8c449db9086407cad8a1b71d2604cc8abf105db8ca4e02c04579ec58b7be40279ddb09aea4784832984485499f48432d languageName: node linkType: hard @@ -6852,9 +6820,9 @@ __metadata: linkType: hard "bare-events@npm:^2.0.0, bare-events@npm:^2.2.0": - version: 2.5.0 - resolution: "bare-events@npm:2.5.0" - checksum: 10c0/afbeec4e8be4d93fb4a3be65c3b4a891a2205aae30b5a38fafd42976cc76cf30dad348963fe330a0d70186e15dc507c11af42c89af5dddab2a54e5aff02e2896 + version: 2.5.2 + resolution: "bare-events@npm:2.5.2" + checksum: 10c0/eb7b269be6acda053a08ab1b18fe057fbf1983c3d4d9ce412b4f5d596aa8231c7fba9caadf7b80915b9e0750cc6babdf6763496b9b65e932046c274b2d4e9f06 languageName: node linkType: hard @@ -7333,7 +7301,7 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7, call-bind@npm:^1.0.8": +"call-bind@npm:^1.0.7, call-bind@npm:^1.0.8": version: 1.0.8 resolution: "call-bind@npm:1.0.8" dependencies: @@ -7377,9 +7345,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001688": - version: 1.0.30001689 - resolution: "caniuse-lite@npm:1.0.30001689" - checksum: 10c0/51cf99751dddfba24e13556ae0e0f38c062f76d49f2e24cce3d28e71a0325ca6fe04fe51b4a0e8467d601d94e72fea84f160bf577e7cbb5677f14ac673b6da20 + version: 1.0.30001690 + resolution: "caniuse-lite@npm:1.0.30001690" + checksum: 10c0/646bd469032afa90400a84dec30a2b00a6eda62c03ead358117e3f884cda8aacec02ec058a6dbee5eaf9714f83e483b9b0eb4fb42febb8076569f5ca40f1d347 languageName: node linkType: hard @@ -7423,9 +7391,9 @@ __metadata: linkType: hard "chalk@npm:^5.0.1, chalk@npm:^5.3.0": - version: 5.3.0 - resolution: "chalk@npm:5.3.0" - checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 + version: 5.4.1 + resolution: "chalk@npm:5.4.1" + checksum: 10c0/b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef languageName: node linkType: hard @@ -7449,7 +7417,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:4.0.3": +"chokidar@npm:4.0.3, chokidar@npm:^4.0.0, chokidar@npm:^4.0.1": version: 4.0.3 resolution: "chokidar@npm:4.0.3" dependencies: @@ -7477,15 +7445,6 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^4.0.0, chokidar@npm:^4.0.1": - version: 4.0.2 - resolution: "chokidar@npm:4.0.2" - dependencies: - readdirp: "npm:^4.0.1" - checksum: 10c0/562a3456d529ce9e16f9a6447f86a3e82a816200fed473fa0b6f84b447ce29f96210c92874a8d5e619a0b453d92a352e93252baa214e376a9a08489e96337c65 - languageName: node - linkType: hard - "chownr@npm:^1.1.1": version: 1.1.4 resolution: "chownr@npm:1.1.4" @@ -7528,16 +7487,15 @@ __metadata: languageName: node linkType: hard -"chromium-bidi@npm:0.8.0": - version: 0.8.0 - resolution: "chromium-bidi@npm:0.8.0" +"chromium-bidi@npm:0.11.0": + version: 0.11.0 + resolution: "chromium-bidi@npm:0.11.0" dependencies: mitt: "npm:3.0.1" - urlpattern-polyfill: "npm:10.0.0" zod: "npm:3.23.8" peerDependencies: devtools-protocol: "*" - checksum: 10c0/d69bcf6eebe8026aae19ef383a7ba35e84bed38be00c5f4cd9700542653e628c528b21b68da10c4de76fc46ee18d186765843b0eb428428eb7e360ff3a6641c8 + checksum: 10c0/7155b1b78bc07371cc750f5a431fb7120fb96e412d24895e5107efe21056a2406f4d051c26be89d2a7355258d6322d203e6d1c4e82f4b30f9b02923de50ba6c9 languageName: node linkType: hard @@ -7887,9 +7845,9 @@ __metadata: linkType: hard "consola@npm:^3.2.3": - version: 3.2.3 - resolution: "consola@npm:3.2.3" - checksum: 10c0/c606220524ec88a05bb1baf557e9e0e04a0c08a9c35d7a08652d99de195c4ddcb6572040a7df57a18ff38bbc13ce9880ad032d56630cef27bef72768ef0ac078 + version: 3.3.3 + resolution: "consola@npm:3.3.3" + checksum: 10c0/9f6f457f3d83fbb339b9f2ff4f5c2776a1a05fad7ce3939d8dc41765431d5f52401b5a632f4b10ed9145b2aadec1e84cea78c30178479d3a2fd4880894592fa5 languageName: node linkType: hard @@ -8053,11 +8011,11 @@ __metadata: linkType: hard "cross-fetch@npm:^4.0.0": - version: 4.0.0 - resolution: "cross-fetch@npm:4.0.0" + version: 4.1.0 + resolution: "cross-fetch@npm:4.1.0" dependencies: - node-fetch: "npm:^2.6.12" - checksum: 10c0/386727dc4c6b044746086aced959ff21101abb85c43df5e1d151547ccb6f338f86dec3f28b9dbddfa8ff5b9ec8662ed2263ad4607a93b2dc354fb7fe3bbb898a + node-fetch: "npm:^2.7.0" + checksum: 10c0/628b134ea27cfcada67025afe6ef1419813fffc5d63d175553efa75a2334522d450300a0f3f0719029700da80e96327930709d5551cf6deb39bb62f1d536642e languageName: node linkType: hard @@ -8155,36 +8113,36 @@ __metadata: languageName: node linkType: hard -"data-view-buffer@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-buffer@npm:1.0.1" +"data-view-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-buffer@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.6" + call-bound: "npm:^1.0.3" es-errors: "npm:^1.3.0" - is-data-view: "npm:^1.0.1" - checksum: 10c0/8984119e59dbed906a11fcfb417d7d861936f16697a0e7216fe2c6c810f6b5e8f4a5281e73f2c28e8e9259027190ac4a33e2a65fdd7fa86ac06b76e838918583 + is-data-view: "npm:^1.0.2" + checksum: 10c0/7986d40fc7979e9e6241f85db8d17060dd9a71bd53c894fa29d126061715e322a4cd47a00b0b8c710394854183d4120462b980b8554012acc1c0fa49df7ad38c languageName: node linkType: hard -"data-view-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-byte-length@npm:1.0.1" +"data-view-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-byte-length@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.7" + call-bound: "npm:^1.0.3" es-errors: "npm:^1.3.0" - is-data-view: "npm:^1.0.1" - checksum: 10c0/b7d9e48a0cf5aefed9ab7d123559917b2d7e0d65531f43b2fd95b9d3a6b46042dd3fca597c42bba384e66b70d7ad66ff23932f8367b241f53d93af42cfe04ec2 + is-data-view: "npm:^1.0.2" + checksum: 10c0/f8a4534b5c69384d95ac18137d381f18a5cfae1f0fc1df0ef6feef51ef0d568606d970b69e02ea186c6c0f0eac77fe4e6ad96fec2569cc86c3afcc7475068c55 languageName: node linkType: hard -"data-view-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "data-view-byte-offset@npm:1.0.0" +"data-view-byte-offset@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-offset@npm:1.0.1" dependencies: - call-bind: "npm:^1.0.6" + call-bound: "npm:^1.0.2" es-errors: "npm:^1.3.0" is-data-view: "npm:^1.0.1" - checksum: 10c0/21b0d2e53fd6e20cc4257c873bf6d36d77bd6185624b84076c0a1ddaa757b49aaf076254006341d35568e89f52eecd1ccb1a502cfb620f2beca04f48a6a62a8f + checksum: 10c0/fa7aa40078025b7810dcffc16df02c480573b7b53ef1205aa6a61533011005c1890e5ba17018c692ce7c900212b547262d33279fde801ad9843edc0863bf78c4 languageName: node linkType: hard @@ -8601,17 +8559,17 @@ __metadata: linkType: hard "domutils@npm:^3.0.1, domutils@npm:^3.1.0": - version: 3.1.0 - resolution: "domutils@npm:3.1.0" + version: 3.2.2 + resolution: "domutils@npm:3.2.2" dependencies: dom-serializer: "npm:^2.0.0" domelementtype: "npm:^2.3.0" domhandler: "npm:^5.0.3" - checksum: 10c0/342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887 + checksum: 10c0/47938f473b987ea71cd59e59626eb8666d3aa8feba5266e45527f3b636c7883cca7e582d901531961f742c519d7514636b7973353b648762b2e3bedbf235fada languageName: node linkType: hard -"dunder-proto@npm:^1.0.0": +"dunder-proto@npm:^1.0.0, dunder-proto@npm:^1.0.1": version: 1.0.1 resolution: "dunder-proto@npm:1.0.1" dependencies: @@ -8698,9 +8656,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.73": - version: 1.5.74 - resolution: "electron-to-chromium@npm:1.5.74" - checksum: 10c0/1a93119adbdeb0bba4c29e3bad5a48e6a4626ae50fbff2bc5c207f32e67ed64a5d8db6500befb44080359be3b18be7bf830fb920d5199d935be95bb9f97deb10 + version: 1.5.77 + resolution: "electron-to-chromium@npm:1.5.77" + checksum: 10c0/876df02d1cbc55627eb4120e2dbea249bf826ab8eeaa563c543070f6c6015cd6c845c91bd04a86b1e1d8cf819bcc4d4c92a1254fac9aa33705d9c89100724021 languageName: node linkType: hard @@ -8803,12 +8761,12 @@ __metadata: linkType: hard "enhanced-resolve@npm:^5.17.1": - version: 5.17.1 - resolution: "enhanced-resolve@npm:5.17.1" + version: 5.18.0 + resolution: "enhanced-resolve@npm:5.18.0" dependencies: graceful-fs: "npm:^4.2.4" tapable: "npm:^2.2.0" - checksum: 10c0/81a0515675eca17efdba2cf5bad87abc91a528fc1191aad50e275e74f045b41506167d420099022da7181c8d787170ea41e4a11a0b10b7a16f6237daecb15370 + checksum: 10c0/5fcc264a6040754ab5b349628cac2bb5f89cee475cbe340804e657a5b9565f70e6aafb338d5895554eb0ced9f66c50f38a255274a0591dcb64ee17c549c459ce languageName: node linkType: hard @@ -8881,33 +8839,34 @@ __metadata: languageName: node linkType: hard -"errorstacks@npm:^2.2.0": +"errorstacks@npm:^2.4.1": version: 2.4.1 resolution: "errorstacks@npm:2.4.1" checksum: 10c0/5721d0fcc2f4b2f3bcedb71a767d19ea2dc04c7598ffcc547d5ad61187a36133b6b833922aadd449ebb12d7d1e68706eab0b9d1218409034e39bff48d8642df3 languageName: node linkType: hard -"es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.5": - version: 1.23.6 - resolution: "es-abstract@npm:1.23.6" +"es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.5, es-abstract@npm:^1.23.9": + version: 1.23.9 + resolution: "es-abstract@npm:1.23.9" dependencies: - array-buffer-byte-length: "npm:^1.0.1" + array-buffer-byte-length: "npm:^1.0.2" arraybuffer.prototype.slice: "npm:^1.0.4" available-typed-arrays: "npm:^1.0.7" call-bind: "npm:^1.0.8" call-bound: "npm:^1.0.3" - data-view-buffer: "npm:^1.0.1" - data-view-byte-length: "npm:^1.0.1" - data-view-byte-offset: "npm:^1.0.0" + data-view-buffer: "npm:^1.0.2" + data-view-byte-length: "npm:^1.0.2" + data-view-byte-offset: "npm:^1.0.1" es-define-property: "npm:^1.0.1" es-errors: "npm:^1.3.0" es-object-atoms: "npm:^1.0.0" - es-set-tostringtag: "npm:^2.0.3" + es-set-tostringtag: "npm:^2.1.0" es-to-primitive: "npm:^1.3.0" - function.prototype.name: "npm:^1.1.7" - get-intrinsic: "npm:^1.2.6" - get-symbol-description: "npm:^1.0.2" + function.prototype.name: "npm:^1.1.8" + get-intrinsic: "npm:^1.2.7" + get-proto: "npm:^1.0.0" + get-symbol-description: "npm:^1.1.0" globalthis: "npm:^1.0.4" gopd: "npm:^1.2.0" has-property-descriptors: "npm:^1.0.2" @@ -8915,32 +8874,34 @@ __metadata: has-symbols: "npm:^1.1.0" hasown: "npm:^2.0.2" internal-slot: "npm:^1.1.0" - is-array-buffer: "npm:^3.0.4" + is-array-buffer: "npm:^3.0.5" is-callable: "npm:^1.2.7" is-data-view: "npm:^1.0.2" - is-negative-zero: "npm:^2.0.3" is-regex: "npm:^1.2.1" - is-shared-array-buffer: "npm:^1.0.3" + is-shared-array-buffer: "npm:^1.0.4" is-string: "npm:^1.1.1" - is-typed-array: "npm:^1.1.13" + is-typed-array: "npm:^1.1.15" is-weakref: "npm:^1.1.0" - math-intrinsics: "npm:^1.0.0" + math-intrinsics: "npm:^1.1.0" object-inspect: "npm:^1.13.3" object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.5" + object.assign: "npm:^4.1.7" + own-keys: "npm:^1.0.1" regexp.prototype.flags: "npm:^1.5.3" safe-array-concat: "npm:^1.1.3" + safe-push-apply: "npm:^1.0.0" safe-regex-test: "npm:^1.1.0" + set-proto: "npm:^1.0.0" string.prototype.trim: "npm:^1.2.10" string.prototype.trimend: "npm:^1.0.9" string.prototype.trimstart: "npm:^1.0.8" - typed-array-buffer: "npm:^1.0.2" - typed-array-byte-length: "npm:^1.0.1" - typed-array-byte-offset: "npm:^1.0.3" + typed-array-buffer: "npm:^1.0.3" + typed-array-byte-length: "npm:^1.0.3" + typed-array-byte-offset: "npm:^1.0.4" typed-array-length: "npm:^1.0.7" - unbox-primitive: "npm:^1.0.2" - which-typed-array: "npm:^1.1.16" - checksum: 10c0/87c9cd85264f42e993ee2f7157c5e49c2866651bd7ff89a0799cc5bcfb962b19814e1f58c9970101072bab2a68a4fb859f094c6e8f161ba8042569431f0c1ec4 + unbox-primitive: "npm:^1.1.0" + which-typed-array: "npm:^1.1.18" + checksum: 10c0/1de229c9e08fe13c17fe5abaec8221545dfcd57e51f64909599a6ae896df84b8fd2f7d16c60cb00d7bf495b9298ca3581aded19939d4b7276854a4b066f8422b languageName: node linkType: hard @@ -8959,9 +8920,9 @@ __metadata: linkType: hard "es-module-lexer@npm:^1.0.0, es-module-lexer@npm:^1.2.1": - version: 1.5.4 - resolution: "es-module-lexer@npm:1.5.4" - checksum: 10c0/300a469488c2f22081df1e4c8398c78db92358496e639b0df7f89ac6455462aaf5d8893939087c1a1cbcbf20eed4610c70e0bcb8f3e4b0d80a5d2611c539408c + version: 1.6.0 + resolution: "es-module-lexer@npm:1.6.0" + checksum: 10c0/667309454411c0b95c476025929881e71400d74a746ffa1ff4cb450bd87f8e33e8eef7854d68e401895039ac0bac64e7809acbebb6253e055dd49ea9e3ea9212 languageName: node linkType: hard @@ -8974,14 +8935,15 @@ __metadata: languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.3": - version: 2.0.3 - resolution: "es-set-tostringtag@npm:2.0.3" +"es-set-tostringtag@npm:^2.1.0": + version: 2.1.0 + resolution: "es-set-tostringtag@npm:2.1.0" dependencies: - get-intrinsic: "npm:^1.2.4" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.6" has-tostringtag: "npm:^1.0.2" - hasown: "npm:^2.0.1" - checksum: 10c0/f22aff1585eb33569c326323f0b0d175844a1f11618b86e193b386f8be0ea9474cfbe46df39c45d959f7aa8f6c06985dc51dd6bce5401645ec5a74c4ceaa836a + hasown: "npm:^2.0.2" + checksum: 10c0/ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af languageName: node linkType: hard @@ -9030,7 +8992,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:0.24.0, esbuild@npm:^0.24.0": +"esbuild@npm:0.24.0": version: 0.24.0 resolution: "esbuild@npm:0.24.0" dependencies: @@ -9113,7 +9075,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:0.24.2, esbuild@npm:^0.24.2": +"esbuild@npm:0.24.2, esbuild@npm:^0.24.0, esbuild@npm:^0.24.2": version: 0.24.2 resolution: "esbuild@npm:0.24.2" dependencies: @@ -9652,6 +9614,13 @@ __metadata: languageName: node linkType: hard +"fast-content-type-parse@npm:^2.0.0": + version: 2.0.1 + resolution: "fast-content-type-parse@npm:2.0.1" + checksum: 10c0/e5ff87d75a35ae4cf377df1dca46ec49e7abbdc8513689676ecdef548b94900b50e66e516e64470035d79b9f7010ef15d98c24d8ae803a881363cc59e0715e19 + languageName: node + linkType: hard + "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -9666,7 +9635,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": +"fast-glob@npm:3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -9679,7 +9648,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:3.3.3": +"fast-glob@npm:3.3.3, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": version: 3.3.3 resolution: "fast-glob@npm:3.3.3" dependencies: @@ -9721,9 +9690,9 @@ __metadata: linkType: hard "fast-uri@npm:^3.0.1": - version: 3.0.3 - resolution: "fast-uri@npm:3.0.3" - checksum: 10c0/4b2c5ce681a062425eae4f15cdc8fc151fd310b2f69b1f96680677820a8b49c3cd6e80661a406e19d50f0c40a3f8bffdd458791baf66f4a879d80be28e10a320 + version: 3.0.5 + resolution: "fast-uri@npm:3.0.5" + checksum: 10c0/f5501fd849e02f16f1730d2c8628078718c492b5bc00198068bc5c2880363ae948287fdc8cebfff47465229b517dbeaf668866fbabdff829b4138a899e5c2ba3 languageName: node linkType: hard @@ -9735,11 +9704,11 @@ __metadata: linkType: hard "fastq@npm:^1.6.0": - version: 1.17.1 - resolution: "fastq@npm:1.17.1" + version: 1.18.0 + resolution: "fastq@npm:1.18.0" dependencies: reusify: "npm:^1.0.4" - checksum: 10c0/1095f16cea45fb3beff558bb3afa74ca7a9250f5a670b65db7ed585f92b4b48381445cd328b3d87323da81e43232b5d5978a8201bde84e0cd514310f1ea6da34 + checksum: 10c0/7be87ecc41762adbddf558d24182f50a4b1a3ef3ee807d33b7623da7aee5faecdcc94fce5aa13fe91df93e269f383232bbcdb2dc5338cd1826503d6063221f36 languageName: node linkType: hard @@ -10155,16 +10124,17 @@ __metadata: languageName: node linkType: hard -"function.prototype.name@npm:^1.1.6, function.prototype.name@npm:^1.1.7": - version: 1.1.7 - resolution: "function.prototype.name@npm:1.1.7" +"function.prototype.name@npm:^1.1.6, function.prototype.name@npm:^1.1.8": + version: 1.1.8 + resolution: "function.prototype.name@npm:1.1.8" dependencies: call-bind: "npm:^1.0.8" + call-bound: "npm:^1.0.3" define-properties: "npm:^1.2.1" functions-have-names: "npm:^1.2.3" hasown: "npm:^2.0.2" is-callable: "npm:^1.2.7" - checksum: 10c0/f369f794099a9883e8253290d84a7a3e37ed9d4e2b185bdb3034fcfe02d6ee9dd72b41ea1e6e556c49bce897c535aa373b8e31dab5b018875cf9bc0a70c5215f + checksum: 10c0/e920a2ab52663005f3cbe7ee3373e3c71c1fb5558b0b0548648cdf3e51961085032458e26c71ff1a8c8c20e7ee7caeb03d43a5d1fa8610c459333323a2e71253 languageName: node linkType: hard @@ -10229,21 +10199,21 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6": - version: 1.2.6 - resolution: "get-intrinsic@npm:1.2.6" +"get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6, get-intrinsic@npm:^1.2.7": + version: 1.2.7 + resolution: "get-intrinsic@npm:1.2.7" dependencies: call-bind-apply-helpers: "npm:^1.0.1" - dunder-proto: "npm:^1.0.0" es-define-property: "npm:^1.0.1" es-errors: "npm:^1.3.0" es-object-atoms: "npm:^1.0.0" function-bind: "npm:^1.1.2" + get-proto: "npm:^1.0.0" gopd: "npm:^1.2.0" has-symbols: "npm:^1.1.0" hasown: "npm:^2.0.2" - math-intrinsics: "npm:^1.0.0" - checksum: 10c0/0f1ea6d807d97d074e8a31ac698213a12757fcfa9a8f4778263d2e4702c40fe83198aadd3dba2e99aabc2e4cf8a38345545dbb0518297d3df8b00b56a156c32a + math-intrinsics: "npm:^1.1.0" + checksum: 10c0/b475dec9f8bff6f7422f51ff4b7b8d0b68e6776ee83a753c1d627e3008c3442090992788038b37eff72e93e43dceed8c1acbdf2d6751672687ec22127933080d languageName: node linkType: hard @@ -10254,6 +10224,16 @@ __metadata: languageName: node linkType: hard +"get-proto@npm:^1.0.0, get-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "get-proto@npm:1.0.1" + dependencies: + dunder-proto: "npm:^1.0.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/9224acb44603c5526955e83510b9da41baf6ae73f7398875fba50edc5e944223a89c4a72b070fcd78beb5f7bdda58ecb6294adc28f7acfc0da05f76a2399643c + languageName: node + linkType: hard + "get-stream@npm:^5.1.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -10270,7 +10250,7 @@ __metadata: languageName: node linkType: hard -"get-symbol-description@npm:^1.0.2": +"get-symbol-description@npm:^1.1.0": version: 1.1.0 resolution: "get-symbol-description@npm:1.1.0" dependencies: @@ -10573,9 +10553,9 @@ __metadata: linkType: hard "has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 10c0/724eb1485bfa3cdff6f18d95130aa190561f00b3fcf9f19dc640baf8176b5917c143b81ec2123f8cddb6c05164a198c94b13e1377c497705ccc8e1a80306e83b + version: 1.1.0 + resolution: "has-bigints@npm:1.1.0" + checksum: 10c0/2de0cdc4a1ccf7a1e75ffede1876994525ac03cc6f5ae7392d3415dd475cd9eee5bceec63669ab61aa997ff6cceebb50ef75561c7002bed8988de2b9d1b40788 languageName: node linkType: hard @@ -10595,7 +10575,7 @@ __metadata: languageName: node linkType: hard -"has-proto@npm:^1.0.3, has-proto@npm:^1.2.0": +"has-proto@npm:^1.2.0": version: 1.2.0 resolution: "has-proto@npm:1.2.0" dependencies: @@ -10611,7 +10591,7 @@ __metadata: languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.2": +"has-tostringtag@npm:^1.0.2": version: 1.0.2 resolution: "has-tostringtag@npm:1.0.2" dependencies: @@ -10620,7 +10600,7 @@ __metadata: languageName: node linkType: hard -"hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": +"hasown@npm:^2.0.0, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" dependencies: @@ -11139,7 +11119,7 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.4": +"is-array-buffer@npm:^3.0.4, is-array-buffer@npm:^3.0.5": version: 3.0.5 resolution: "is-array-buffer@npm:3.0.5" dependencies: @@ -11158,11 +11138,14 @@ __metadata: linkType: hard "is-async-function@npm:^2.0.0": - version: 2.0.0 - resolution: "is-async-function@npm:2.0.0" + version: 2.1.0 + resolution: "is-async-function@npm:2.1.0" dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 10c0/787bc931576aad525d751fc5ce211960fe91e49ac84a5c22d6ae0bc9541945fbc3f686dc590c3175722ce4f6d7b798a93f6f8ff4847fdb2199aea6f4baf5d668 + call-bound: "npm:^1.0.3" + get-proto: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.2" + safe-regex-test: "npm:^1.1.0" + checksum: 10c0/5209b858c6d18d88a9fb56dea202a050d53d4b722448cc439fdca859b36e23edf27ee8c18958ba49330f1a71b8846576273f4581e1c0bb9d403738129d852fdb languageName: node linkType: hard @@ -11220,11 +11203,11 @@ __metadata: linkType: hard "is-core-module@npm:^2.13.0, is-core-module@npm:^2.15.1, is-core-module@npm:^2.16.0": - version: 2.16.0 - resolution: "is-core-module@npm:2.16.0" + version: 2.16.1 + resolution: "is-core-module@npm:2.16.1" dependencies: hasown: "npm:^2.0.2" - checksum: 10c0/57e3b4bf3503a5ace3e61ef030a2eefa03d27827647b22968456e3e4befffed7c7aa849eea2e029f4f74a119a2d53cc391d5bad59c9352ecc9b79be3fd2acf79 + checksum: 10c0/898443c14780a577e807618aaae2b6f745c8538eca5c7bc11388a3f2dc6de82b9902bcc7eb74f07be672b11bbe82dd6a6edded44a00cb3d8f933d0459905eedd languageName: node linkType: hard @@ -11314,11 +11297,14 @@ __metadata: linkType: hard "is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": - version: 1.0.10 - resolution: "is-generator-function@npm:1.0.10" + version: 1.1.0 + resolution: "is-generator-function@npm:1.1.0" dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 10c0/df03514df01a6098945b5a0cfa1abff715807c8e72f57c49a0686ad54b3b74d394e2d8714e6f709a71eb00c9630d48e73ca1796c1ccc84ac95092c1fecc0d98b + call-bound: "npm:^1.0.3" + get-proto: "npm:^1.0.0" + has-tostringtag: "npm:^1.0.2" + safe-regex-test: "npm:^1.1.0" + checksum: 10c0/fdfa96c8087bf36fc4cd514b474ba2ff404219a4dd4cfa6cf5426404a1eed259bdcdb98f082a71029a48d01f27733e3436ecc6690129a7ec09cb0434bee03a2a languageName: node linkType: hard @@ -11379,13 +11365,6 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.3": - version: 2.0.3 - resolution: "is-negative-zero@npm:2.0.3" - checksum: 10c0/bcdcf6b8b9714063ffcfa9929c575ac69bfdabb8f4574ff557dfc086df2836cf07e3906f5bbc4f2a5c12f8f3ba56af640c843cdfc74da8caed86c7c7d66fd08e - languageName: node - linkType: hard - "is-network-error@npm:^1.0.0": version: 1.1.0 resolution: "is-network-error@npm:1.1.0" @@ -11509,12 +11488,12 @@ __metadata: languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.3": - version: 1.0.3 - resolution: "is-shared-array-buffer@npm:1.0.3" +"is-shared-array-buffer@npm:^1.0.4": + version: 1.0.4 + resolution: "is-shared-array-buffer@npm:1.0.4" dependencies: - call-bind: "npm:^1.0.7" - checksum: 10c0/adc11ab0acbc934a7b9e5e9d6c588d4ec6682f6fea8cda5180721704fa32927582ede5b123349e32517fdadd07958973d24716c80e7ab198970c47acc09e59c7 + call-bound: "npm:^1.0.3" + checksum: 10c0/65158c2feb41ff1edd6bbd6fd8403a69861cf273ff36077982b5d4d68e1d59278c71691216a4a64632bd76d4792d4d1d2553901b6666d84ade13bba5ea7bc7db languageName: node linkType: hard @@ -11553,12 +11532,12 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.13": - version: 1.1.14 - resolution: "is-typed-array@npm:1.1.14" +"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.14, is-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "is-typed-array@npm:1.1.15" dependencies: which-typed-array: "npm:^1.1.16" - checksum: 10c0/1dc1aee98fcdc016b941491f32327b6f651580efe8e0e0fe9a659f7f8a901c0047f9929de4fad08eb4a7f2b9ae42551c08fa054bfb6bfa16109e80b9abab66b2 + checksum: 10c0/415511da3669e36e002820584e264997ffe277ff136643a3126cc949197e6ca3334d0f12d084e83b1994af2e9c8141275c741cf2b7da5a2ff62dd0cac26f76c4 languageName: node linkType: hard @@ -11873,11 +11852,11 @@ __metadata: linkType: hard "jiti@npm:^1.20.0": - version: 1.21.6 - resolution: "jiti@npm:1.21.6" + version: 1.21.7 + resolution: "jiti@npm:1.21.7" bin: jiti: bin/jiti.js - checksum: 10c0/05b9ed58cd30d0c3ccd3c98209339e74f50abd9a17e716f65db46b6a35812103f6bde6e134be7124d01745586bca8cc5dae1d0d952267c3ebe55171949c32e56 + checksum: 10c0/77b61989c758ff32407cdae8ddc77f85e18e1a13fc4977110dbd2e05fc761842f5f71bce684d9a01316e1c4263971315a111385759951080bbfe17cbb5de8f7a languageName: node linkType: hard @@ -12004,14 +11983,15 @@ __metadata: linkType: hard "json-stable-stringify@npm:^1.0.2": - version: 1.1.1 - resolution: "json-stable-stringify@npm:1.1.1" + version: 1.2.1 + resolution: "json-stable-stringify@npm:1.2.1" dependencies: - call-bind: "npm:^1.0.5" + call-bind: "npm:^1.0.8" + call-bound: "npm:^1.0.3" isarray: "npm:^2.0.5" jsonify: "npm:^0.0.1" object-keys: "npm:^1.1.1" - checksum: 10c0/3801e3eeccbd030afb970f54bea690a079cfea7d9ed206a1b17ca9367f4b7772c764bf77a48f03e56b50e5f7ee7d11c52339fe20d8d7ccead003e4ca69e4cfde + checksum: 10c0/e623e7ce89282f089d56454087edb717357e8572089b552fbc6980fb7814dc3943f7d0e4f1a19429a36ce9f4428b6c8ee6883357974457aaaa98daba5adebeea languageName: node linkType: hard @@ -13094,10 +13074,10 @@ __metadata: languageName: node linkType: hard -"math-intrinsics@npm:^1.0.0": - version: 1.0.0 - resolution: "math-intrinsics@npm:1.0.0" - checksum: 10c0/470ee2f267b4b3698eb9faa7f0bcf88696d87e2eeab25bba867dc676c09ddbae9b6f2e8ac7a2c1f0c9c2c5299c2a89f4f1f6d0e70d682725e2e7fca7507eef9f +"math-intrinsics@npm:^1.1.0": + version: 1.1.0 + resolution: "math-intrinsics@npm:1.1.0" + checksum: 10c0/7579ff94e899e2f76ab64491d76cf606274c874d8f2af4a442c016bd85688927fcfca157ba6bf74b08e9439dc010b248ce05b96cc7c126a354c3bae7fcb48b7f languageName: node linkType: hard @@ -13109,14 +13089,14 @@ __metadata: linkType: hard "memfs@npm:^4.6.0": - version: 4.15.0 - resolution: "memfs@npm:4.15.0" + version: 4.15.3 + resolution: "memfs@npm:4.15.3" dependencies: "@jsonjoy.com/json-pack": "npm:^1.0.3" "@jsonjoy.com/util": "npm:^1.3.0" tree-dump: "npm:^1.0.1" tslib: "npm:^2.0.0" - checksum: 10c0/be161036983ad517b8a6cb5e4493e6e0f1cc44024bc2135d51d9b28e823bb6a68bb00233900a1e9b93e942e8f581747f432b2224eb26c0045d97f8c84d25bd27 + checksum: 10c0/95bab707edcc86ac5acdb3ca53b420be34aa04167d0f03398b702bfadb44b72a6a27198b93593e7d9094cf911d70a0d679301fbc0e309f7ac43fa04a676b1b60 languageName: node linkType: hard @@ -13694,7 +13674,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.9, node-fetch@npm:^2.7.0": +"node-fetch@npm:^2.6.9, node-fetch@npm:^2.7.0": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: @@ -14028,15 +14008,17 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.5": - version: 4.1.5 - resolution: "object.assign@npm:4.1.5" +"object.assign@npm:^4.1.7": + version: 4.1.7 + resolution: "object.assign@npm:4.1.7" dependencies: - call-bind: "npm:^1.0.5" + call-bind: "npm:^1.0.8" + call-bound: "npm:^1.0.3" define-properties: "npm:^1.2.1" - has-symbols: "npm:^1.0.3" + es-object-atoms: "npm:^1.0.0" + has-symbols: "npm:^1.1.0" object-keys: "npm:^1.1.1" - checksum: 10c0/60108e1fa2706f22554a4648299b0955236c62b3685c52abf4988d14fffb0e7731e00aa8c6448397e3eb63d087dcc124a9f21e1980f36d0b2667f3c18bacd469 + checksum: 10c0/3b2732bd860567ea2579d1567525168de925a8d852638612846bd8082b3a1602b7b89b67b09913cbb5b9bd6e95923b2ae73580baa9d99cb4e990564e8cbf5ddc languageName: node linkType: hard @@ -14064,13 +14046,14 @@ __metadata: linkType: hard "object.values@npm:^1.2.0": - version: 1.2.0 - resolution: "object.values@npm:1.2.0" + version: 1.2.1 + resolution: "object.values@npm:1.2.1" dependencies: - call-bind: "npm:^1.0.7" + call-bind: "npm:^1.0.8" + call-bound: "npm:^1.0.3" define-properties: "npm:^1.2.1" es-object-atoms: "npm:^1.0.0" - checksum: 10c0/15809dc40fd6c5529501324fec5ff08570b7d70fb5ebbe8e2b3901afec35cf2b3dc484d1210c6c642cd3e7e0a5e18dd1d6850115337fef46bdae14ab0cb18ac3 + checksum: 10c0/3c47814fdc64842ae3d5a74bc9d06bdd8d21563c04d9939bf6716a9c00596a4ebc342552f8934013d1ec991c74e3671b26710a0c51815f0b603795605ab6b2c9 languageName: node linkType: hard @@ -14234,6 +14217,17 @@ __metadata: languageName: node linkType: hard +"own-keys@npm:^1.0.1": + version: 1.0.1 + resolution: "own-keys@npm:1.0.1" + dependencies: + get-intrinsic: "npm:^1.2.6" + object-keys: "npm:^1.1.1" + safe-push-apply: "npm:^1.0.0" + checksum: 10c0/6dfeb3455bff92ec3f16a982d4e3e65676345f6902d9f5ded1d8265a6318d0200ce461956d6d1c70053c7fe9f9fe65e552faac03f8140d37ef0fdd108e67013a + languageName: node + linkType: hard + "p-event@npm:^4.2.0": version: 4.2.0 resolution: "p-event@npm:4.2.0" @@ -14985,9 +14979,9 @@ __metadata: linkType: hard "process-warning@npm:^4.0.0": - version: 4.0.0 - resolution: "process-warning@npm:4.0.0" - checksum: 10c0/5312a72b69d37a1b82ad03f3dfa0090dab3804a8fd995d06c28e3c002852bd82f5584217d9f4a3f197892bb2afc22d57e2c662c7e906b5abb48c0380c7b0880d + version: 4.0.1 + resolution: "process-warning@npm:4.0.1" + checksum: 10c0/577a268b9fd5c3d9f6dbb4348220099391d830905642845d591e7ee8b1e45043d98b7b9826a3c1379bdd1686cdfe0f6cf349cb812affc5853b662e6a9896579e languageName: node linkType: hard @@ -15244,16 +15238,16 @@ __metadata: linkType: hard "puppeteer-core@npm:^23.2.0": - version: 23.10.4 - resolution: "puppeteer-core@npm:23.10.4" + version: 23.11.1 + resolution: "puppeteer-core@npm:23.11.1" dependencies: "@puppeteer/browsers": "npm:2.6.1" - chromium-bidi: "npm:0.8.0" + chromium-bidi: "npm:0.11.0" debug: "npm:^4.4.0" devtools-protocol: "npm:0.0.1367902" typed-query-selector: "npm:^2.12.0" ws: "npm:^8.18.0" - checksum: 10c0/eb94b0760e9d7aadde11f0fb66c21202698773df6063bef2295271b409d3cf7650c5d4652cc7b39b95c309740edd34a8828fe520eba69272f43f3b011212ea7d + checksum: 10c0/6512a3dca8c7bea620219332b84c4442754fead6c5021c26ea395ddc2f84610a54accf185ba1450e02885cb063c2d12f96eb5f18e7e1b6795f3e32a4b8a2102e languageName: node linkType: hard @@ -15432,7 +15426,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:4.5.2, readable-stream@npm:^4.0.0": +"readable-stream@npm:4.5.2": version: 4.5.2 resolution: "readable-stream@npm:4.5.2" dependencies: @@ -15460,6 +15454,19 @@ __metadata: languageName: node linkType: hard +"readable-stream@npm:^4.0.0": + version: 4.6.0 + resolution: "readable-stream@npm:4.6.0" + dependencies: + abort-controller: "npm:^3.0.0" + buffer: "npm:^6.0.3" + events: "npm:^3.3.0" + process: "npm:^0.11.10" + string_decoder: "npm:^1.3.0" + checksum: 10c0/0dcc6fdb433c0e6c4b03950f72e43b94c2aead42367ae5453997ffffcdcee2277003da545175ee11db08917e97ec709c9d19c6576e0888d0315b239da0f9913a + languageName: node + linkType: hard + "readdirp@npm:^4.0.1": version: 4.0.2 resolution: "readdirp@npm:4.0.2" @@ -15506,19 +15513,19 @@ __metadata: languageName: node linkType: hard -"reflect.getprototypeof@npm:^1.0.6": - version: 1.0.8 - resolution: "reflect.getprototypeof@npm:1.0.8" +"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9": + version: 1.0.10 + resolution: "reflect.getprototypeof@npm:1.0.10" dependencies: call-bind: "npm:^1.0.8" define-properties: "npm:^1.2.1" - dunder-proto: "npm:^1.0.0" - es-abstract: "npm:^1.23.5" + es-abstract: "npm:^1.23.9" es-errors: "npm:^1.3.0" - get-intrinsic: "npm:^1.2.4" - gopd: "npm:^1.2.0" - which-builtin-type: "npm:^1.2.0" - checksum: 10c0/720479dd7a72a20d66efaca507ed7c7e18403d24ce764f436130464d4a516a12ed8a9a2714dcabc3e1296f9a31f914ba1095e2371619df23d3ac56c4f8c8bae1 + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.7" + get-proto: "npm:^1.0.1" + which-builtin-type: "npm:^1.2.1" + checksum: 10c0/7facec28c8008876f8ab98e80b7b9cb4b1e9224353fd4756dda5f2a4ab0d30fa0a5074777c6df24e1e0af463a2697513b0a11e548d99cf52f21f7bc6ba48d3ac languageName: node linkType: hard @@ -15562,14 +15569,16 @@ __metadata: linkType: hard "regexp.prototype.flags@npm:^1.5.3": - version: 1.5.3 - resolution: "regexp.prototype.flags@npm:1.5.3" + version: 1.5.4 + resolution: "regexp.prototype.flags@npm:1.5.4" dependencies: - call-bind: "npm:^1.0.7" + call-bind: "npm:^1.0.8" define-properties: "npm:^1.2.1" es-errors: "npm:^1.3.0" + get-proto: "npm:^1.0.1" + gopd: "npm:^1.2.0" set-function-name: "npm:^2.0.2" - checksum: 10c0/e1a7c7dc42cc91abf73e47a269c4b3a8f225321b7f617baa25821f6a123a91d23a73b5152f21872c566e699207e1135d075d2251cd3e84cc96d82a910adf6020 + checksum: 10c0/83b88e6115b4af1c537f8dabf5c3744032cb875d63bc05c288b1b8c0ef37cbe55353f95d8ca817e8843806e3e150b118bc624e4279b24b4776b4198232735a77 languageName: node linkType: hard @@ -15692,28 +15701,28 @@ __metadata: linkType: hard "resolve@npm:^1.1.6, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.22.1, resolve@npm:^1.22.4, resolve@npm:~1.22.1, resolve@npm:~1.22.2": - version: 1.22.9 - resolution: "resolve@npm:1.22.9" + version: 1.22.10 + resolution: "resolve@npm:1.22.10" dependencies: is-core-module: "npm:^2.16.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 10c0/314cea2c47f956743f106256854203bd43a60a3ec6fb85ee6894e75cf4b16004952e4280319bfeb4c6fb1246e3ecd27f2699abb2e2b316b7c5727ec6491505c9 + checksum: 10c0/8967e1f4e2cc40f79b7e080b4582b9a8c5ee36ffb46041dccb20e6461161adf69f843b43067b4a375de926a2cd669157e29a29578191def399dd5ef89a1b5203 languageName: node linkType: hard "resolve@patch:resolve@npm%3A^1.1.6#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A~1.22.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A~1.22.2#optional!builtin<compat/resolve>": - version: 1.22.9 - resolution: "resolve@patch:resolve@npm%3A1.22.9#optional!builtin<compat/resolve>::version=1.22.9&hash=c3c19d" + version: 1.22.10 + resolution: "resolve@patch:resolve@npm%3A1.22.10#optional!builtin<compat/resolve>::version=1.22.10&hash=c3c19d" dependencies: is-core-module: "npm:^2.16.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 10c0/dadd8c85040784fdc18d6edc0cc27f7f35776c5d904b030ea67485ab9a5607568187afcfaf157e6fa9db9274481d155356bc42ca578c5578be25965b880d1e80 + checksum: 10c0/52a4e505bbfc7925ac8f4cd91fd8c4e096b6a89728b9f46861d3b405ac9a1ccf4dcbf8befb4e89a2e11370dacd0160918163885cbc669369590f2f31f4c58939 languageName: node linkType: hard @@ -15846,7 +15855,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.28.1, rollup@npm:^4.23.0, rollup@npm:^4.24.0, rollup@npm:^4.4.0": +"rollup@npm:4.28.1": version: 4.28.1 resolution: "rollup@npm:4.28.1" dependencies: @@ -15918,7 +15927,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.30.0": +"rollup@npm:4.30.0, rollup@npm:^4.23.0, rollup@npm:^4.24.0, rollup@npm:^4.4.0": version: 4.30.0 resolution: "rollup@npm:4.30.0" dependencies: @@ -16049,6 +16058,16 @@ __metadata: languageName: node linkType: hard +"safe-push-apply@npm:^1.0.0": + version: 1.0.0 + resolution: "safe-push-apply@npm:1.0.0" + dependencies: + es-errors: "npm:^1.3.0" + isarray: "npm:^2.0.5" + checksum: 10c0/831f1c9aae7436429e7862c7e46f847dfe490afac20d0ee61bae06108dbf5c745a0de3568ada30ccdd3eeb0864ca8331b2eef703abd69bfea0745b21fd320750 + languageName: node + linkType: hard + "safe-regex-test@npm:^1.1.0": version: 1.1.0 resolution: "safe-regex-test@npm:1.1.0" @@ -16100,7 +16119,7 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.83.0, sass@npm:^1.81.0": +"sass@npm:1.83.0": version: 1.83.0 resolution: "sass@npm:1.83.0" dependencies: @@ -16117,7 +16136,7 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.83.1": +"sass@npm:1.83.1, sass@npm:^1.81.0": version: 1.83.1 resolution: "sass@npm:1.83.1" dependencies: @@ -16399,6 +16418,17 @@ __metadata: languageName: node linkType: hard +"set-proto@npm:^1.0.0": + version: 1.0.0 + resolution: "set-proto@npm:1.0.0" + dependencies: + dunder-proto: "npm:^1.0.1" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/ca5c3ccbba479d07c30460e367e66337cec825560b11e8ba9c5ebe13a2a0d6021ae34eddf94ff3dfe17a3104dc1f191519cb6c48378b503e5c3f36393938776a + languageName: node + linkType: hard + "setimmediate@npm:^1.0.5": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" @@ -17460,21 +17490,21 @@ __metadata: languageName: node linkType: hard -"tldts-core@npm:^6.1.69": - version: 6.1.69 - resolution: "tldts-core@npm:6.1.69" - checksum: 10c0/654b7ca5e349c89613b99179c5a3f55870be0b77d4ce062eaf6cdda7b160dc454a79a48e825e711f89e93588e62cbb6b166171a044a7427f5987ae9602d68328 +"tldts-core@npm:^6.1.71": + version: 6.1.71 + resolution: "tldts-core@npm:6.1.71" + checksum: 10c0/68c4e9ea7f02f14f811f5be5b50b176b099bc8385cae177b8265c1bb0c45215efecf54195a267326848024a24e204bba6d9f47cb899da1d81fd00da0c7f661b7 languageName: node linkType: hard "tldts@npm:^6.1.32": - version: 6.1.69 - resolution: "tldts@npm:6.1.69" + version: 6.1.71 + resolution: "tldts@npm:6.1.71" dependencies: - tldts-core: "npm:^6.1.69" + tldts-core: "npm:^6.1.71" bin: tldts: bin/cli.js - checksum: 10c0/47ca3c435f3fbe325a263e07417079551911afce45be0cc8b4a1c9ba14b8e9e6c493c6260dc5f34d3c4b396671fe641b2ebea9646e34c4a4d03223da848c7658 + checksum: 10c0/fb1bfb6ec78ce334b9d7b0c8813ab553a9f9f8759d681e6f109dd55caced45f901a19d162d8bc2f12b37afc366e438154248ae1dab67ad091565146b8e57d217 languageName: node linkType: hard @@ -17595,6 +17625,15 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^2.0.0": + version: 2.0.0 + resolution: "ts-api-utils@npm:2.0.0" + peerDependencies: + typescript: ">=4.8.4" + checksum: 10c0/6165e29a5b75bd0218e3cb0f9ee31aa893dbd819c2e46dbb086c841121eb0436ed47c2c18a20cb3463d74fd1fb5af62e2604ba5971cc48e5b38ebbdc56746dfc + languageName: node + linkType: hard + "ts-node@npm:^10.9.1": version: 10.9.2 resolution: "ts-node@npm:10.9.2" @@ -17744,42 +17783,42 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "typed-array-buffer@npm:1.0.2" +"typed-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-buffer@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.7" + call-bound: "npm:^1.0.3" es-errors: "npm:^1.3.0" - is-typed-array: "npm:^1.1.13" - checksum: 10c0/9e043eb38e1b4df4ddf9dde1aa64919ae8bb909571c1cc4490ba777d55d23a0c74c7d73afcdd29ec98616d91bb3ae0f705fad4421ea147e1daf9528200b562da + is-typed-array: "npm:^1.1.14" + checksum: 10c0/1105071756eb248774bc71646bfe45b682efcad93b55532c6ffa4518969fb6241354e4aa62af679ae83899ec296d69ef88f1f3763657cdb3a4d29321f7b83079 languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "typed-array-byte-length@npm:1.0.1" +"typed-array-byte-length@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-byte-length@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.7" + call-bind: "npm:^1.0.8" for-each: "npm:^0.3.3" - gopd: "npm:^1.0.1" - has-proto: "npm:^1.0.3" - is-typed-array: "npm:^1.1.13" - checksum: 10c0/fcebeffb2436c9f355e91bd19e2368273b88c11d1acc0948a2a306792f1ab672bce4cfe524ab9f51a0505c9d7cd1c98eff4235c4f6bfef6a198f6cfc4ff3d4f3 + gopd: "npm:^1.2.0" + has-proto: "npm:^1.2.0" + is-typed-array: "npm:^1.1.14" + checksum: 10c0/6ae083c6f0354f1fce18b90b243343b9982affd8d839c57bbd2c174a5d5dc71be9eb7019ffd12628a96a4815e7afa85d718d6f1e758615151d5f35df841ffb3e languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.3": - version: 1.0.3 - resolution: "typed-array-byte-offset@npm:1.0.3" +"typed-array-byte-offset@npm:^1.0.4": + version: 1.0.4 + resolution: "typed-array-byte-offset@npm:1.0.4" dependencies: available-typed-arrays: "npm:^1.0.7" - call-bind: "npm:^1.0.7" + call-bind: "npm:^1.0.8" for-each: "npm:^0.3.3" - gopd: "npm:^1.0.1" - has-proto: "npm:^1.0.3" - is-typed-array: "npm:^1.1.13" - reflect.getprototypeof: "npm:^1.0.6" - checksum: 10c0/5da29585f96671c0521475226d3227000b3e01d1e99208b66bb05b75c7c8f4d0e9cc2e79920f3bfbc792a00102df1daa2608a2753e3f291b671d5a80245bde5b + gopd: "npm:^1.2.0" + has-proto: "npm:^1.2.0" + is-typed-array: "npm:^1.1.15" + reflect.getprototypeof: "npm:^1.0.9" + checksum: 10c0/3d805b050c0c33b51719ee52de17c1cd8e6a571abdf0fffb110e45e8dd87a657e8b56eee94b776b13006d3d347a0c18a730b903cf05293ab6d92e99ff8f77e53 languageName: node linkType: hard @@ -17853,20 +17892,20 @@ __metadata: linkType: hard "ua-parser-js@npm:^0.7.30": - version: 0.7.39 - resolution: "ua-parser-js@npm:0.7.39" + version: 0.7.40 + resolution: "ua-parser-js@npm:0.7.40" bin: ua-parser-js: script/cli.js - checksum: 10c0/5d28deda5e04589c90e67e033136c2ecec38ac6e89e32fd5eab9ef7255af5839c4310c5bbf7361020bba17e85ac56dcb094077be7b6d45a8d776cd3ffe148a8c + checksum: 10c0/d114f0b71b5b0106dcc0cb7cc26a44690073e886fa1444f8c03131d4f57b3f6645f9fb7b308b0aaaa5a2774461f9e8fe1a2a1c3ff69aa531316fcf14cd44dbe3 languageName: node linkType: hard "ua-parser-js@npm:^1.0.33": - version: 1.0.39 - resolution: "ua-parser-js@npm:1.0.39" + version: 1.0.40 + resolution: "ua-parser-js@npm:1.0.40" bin: ua-parser-js: script/cli.js - checksum: 10c0/c6452b0c683000f10975cb0a7e74cb1119ea95d4522ae85f396fa53b0b17884358a24ffdd86a66030c6b2981bdc502109a618c79fdaa217ee9032c9e46fcc78a + checksum: 10c0/2b6ac642c74323957dae142c31f72287f2420c12dced9603d989b96c132b80232779c429b296d7de4012ef8b64e0d8fadc53c639ef06633ce13d785a78b5be6c languageName: node linkType: hard @@ -17879,7 +17918,7 @@ __metadata: languageName: node linkType: hard -"unbox-primitive@npm:^1.0.2": +"unbox-primitive@npm:^1.1.0": version: 1.1.0 resolution: "unbox-primitive@npm:1.1.0" dependencies: @@ -18076,13 +18115,6 @@ __metadata: languageName: node linkType: hard -"urlpattern-polyfill@npm:10.0.0": - version: 10.0.0 - resolution: "urlpattern-polyfill@npm:10.0.0" - checksum: 10c0/43593f2a89bd54f2d5b5105ef4896ac5c5db66aef723759fbd15cd5eb1ea6cdae9d112e257eda9bbc3fb0cd90be6ac6e9689abe4ca69caa33114f42a27363531 - languageName: node - linkType: hard - "util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" @@ -18098,11 +18130,11 @@ __metadata: linkType: hard "uuid@npm:^11.0.0": - version: 11.0.3 - resolution: "uuid@npm:11.0.3" + version: 11.0.4 + resolution: "uuid@npm:11.0.4" bin: uuid: dist/esm/bin/uuid - checksum: 10c0/cee762fc76d949a2ff9205770334699e0043d52bb766472593a25f150077c9deed821230251ea3d6ab3943a5ea137d2826678797f1d5f6754c7ce5ce27e9f7a6 + checksum: 10c0/3c13591c4dedaa3741f925e284df5974e3d6e0b1cb0f6f75f98c36f9c01d2a414350364fd067613ef600a21c6973dab0506530d4f499ff878f32a06f84569ead languageName: node linkType: hard @@ -18677,7 +18709,7 @@ __metadata: languageName: node linkType: hard -"which-builtin-type@npm:^1.2.0": +"which-builtin-type@npm:^1.2.1": version: 1.2.1 resolution: "which-builtin-type@npm:1.2.1" dependencies: @@ -18717,16 +18749,17 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.16": - version: 1.1.16 - resolution: "which-typed-array@npm:1.1.16" +"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18": + version: 1.1.18 + resolution: "which-typed-array@npm:1.1.18" dependencies: available-typed-arrays: "npm:^1.0.7" - call-bind: "npm:^1.0.7" + call-bind: "npm:^1.0.8" + call-bound: "npm:^1.0.3" for-each: "npm:^0.3.3" - gopd: "npm:^1.0.1" + gopd: "npm:^1.2.0" has-tostringtag: "npm:^1.0.2" - checksum: 10c0/a9075293200db4fbce7c24d52731843542c5a19edfc66e31aa2cbefa788b5caa7ef05008f6e60d2c38d8198add6b92d0ddc2937918c5c308be398b1ebd8721af + checksum: 10c0/0412f4a91880ca1a2a63056187c2e3de6b129b2b5b6c17bc3729f0f7041047ae48fb7424813e51506addb2c97320003ee18b8c57469d2cde37983ef62126143c languageName: node linkType: hard @@ -18985,7 +19018,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:2.6.1, yaml@npm:^2.2.2, yaml@npm:^2.4.1": +"yaml@npm:2.6.1": version: 2.6.1 resolution: "yaml@npm:2.6.1" bin: @@ -18994,6 +19027,15 @@ __metadata: languageName: node linkType: hard +"yaml@npm:^2.2.2, yaml@npm:^2.4.1": + version: 2.7.0 + resolution: "yaml@npm:2.7.0" + bin: + yaml: bin.mjs + checksum: 10c0/886a7d2abbd70704b79f1d2d05fe9fb0aa63aefb86e1cb9991837dced65193d300f5554747a872b4b10ae9a12bc5d5327e4d04205f70336e863e35e89d8f4ea9 + languageName: node + linkType: hard + "yargs-parser@npm:21.1.1, yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1"
0c2a862db00ccfe3d309c34b3788001c719aa21d
2021-06-09 11:30:49
Charles Lyding
fix(@ngtools/webpack): ensure plugin provided Webpack instance is used
false
ensure plugin provided Webpack instance is used
fix
diff --git a/packages/ngtools/webpack/src/inline-data-loader.ts b/packages/ngtools/webpack/src/inline-data-loader.ts index 3d92323f253e..c18fb9d54d20 100644 --- a/packages/ngtools/webpack/src/inline-data-loader.ts +++ b/packages/ngtools/webpack/src/inline-data-loader.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import { Compilation, LoaderContext } from 'webpack'; +import type { Compilation, LoaderContext } from 'webpack'; export const InlineAngularResourceSymbol = Symbol(); diff --git a/packages/ngtools/webpack/src/ivy/cache.ts b/packages/ngtools/webpack/src/ivy/cache.ts index c3fac83e8f9b..0448906aa87c 100644 --- a/packages/ngtools/webpack/src/ivy/cache.ts +++ b/packages/ngtools/webpack/src/ivy/cache.ts @@ -7,7 +7,6 @@ */ import * as ts from 'typescript'; -import { normalizePath } from './paths'; export class SourceFileCache extends Map<string, ts.SourceFile> { private readonly angularDiagnostics = new Map<ts.SourceFile, ts.Diagnostic[]>(); diff --git a/packages/ngtools/webpack/src/ivy/plugin.ts b/packages/ngtools/webpack/src/ivy/plugin.ts index 90be4e8ed7f3..a8e06228cb5c 100644 --- a/packages/ngtools/webpack/src/ivy/plugin.ts +++ b/packages/ngtools/webpack/src/ivy/plugin.ts @@ -10,14 +10,7 @@ import { CompilerHost, CompilerOptions, readConfiguration } from '@angular/compi import { NgtscProgram } from '@angular/compiler-cli/src/ngtsc/program'; import { createHash } from 'crypto'; import * as ts from 'typescript'; -import { - Compilation, - Compiler, - Module, - NormalModule, - NormalModuleReplacementPlugin, - util, -} from 'webpack'; +import type { Compilation, Compiler, Module, NormalModule } from 'webpack'; import { NgccProcessor } from '../ngcc_processor'; import { TypeScriptPathsPlugin } from '../paths-plugin'; import { WebpackResourceLoader } from '../resource_loader'; @@ -124,6 +117,8 @@ export class AngularWebpackPlugin { } apply(compiler: Compiler): void { + const { NormalModuleReplacementPlugin, util } = compiler.webpack; + // Setup file replacements with webpack for (const [key, value] of Object.entries(this.pluginOptions.fileReplacements)) { new NormalModuleReplacementPlugin( diff --git a/packages/ngtools/webpack/src/resource_loader.ts b/packages/ngtools/webpack/src/resource_loader.ts index 75d5ae3ab545..d93e4f9881c9 100644 --- a/packages/ngtools/webpack/src/resource_loader.ts +++ b/packages/ngtools/webpack/src/resource_loader.ts @@ -9,7 +9,7 @@ import { createHash } from 'crypto'; import * as path from 'path'; import * as vm from 'vm'; -import { Asset, Compilation, EntryPlugin, NormalModule, library, node, sources } from 'webpack'; +import type { Asset, Compilation } from 'webpack'; import { CompilationWithInlineAngularResource, InlineAngularResourceSymbol, @@ -142,7 +142,8 @@ export class WebpackResourceLoader { }, }; - const context = this._parentCompilation.compiler.context; + const { context, webpack } = this._parentCompilation.compiler; + const { EntryPlugin, NormalModule, library, node, sources } = webpack; const childCompiler = this._parentCompilation.createChildCompiler( 'angular-compiler:resource', outputOptions, @@ -204,7 +205,7 @@ export class WebpackResourceLoader { let finalMap: string | undefined; childCompiler.hooks.compilation.tap('angular-compiler', (childCompilation) => { childCompilation.hooks.processAssets.tap( - { name: 'angular-compiler', stage: Compilation.PROCESS_ASSETS_STAGE_REPORT }, + { name: 'angular-compiler', stage: webpack.Compilation.PROCESS_ASSETS_STAGE_REPORT }, () => { finalContent = childCompilation.assets[outputFilePath]?.source().toString(); finalMap = childCompilation.assets[outputFilePath + '.map']?.source().toString(); diff --git a/packages/ngtools/webpack/src/webpack-diagnostics.ts b/packages/ngtools/webpack/src/webpack-diagnostics.ts index 41584a617e82..d04c34f3ef04 100644 --- a/packages/ngtools/webpack/src/webpack-diagnostics.ts +++ b/packages/ngtools/webpack/src/webpack-diagnostics.ts @@ -6,12 +6,12 @@ * found in the LICENSE file at https://angular.io/license */ -import { Compilation, WebpackError } from 'webpack'; +import type { Compilation } from 'webpack'; export function addWarning(compilation: Compilation, message: string): void { - compilation.warnings.push(new WebpackError(message)); + compilation.warnings.push(new compilation.compiler.webpack.WebpackError(message)); } export function addError(compilation: Compilation, message: string): void { - compilation.errors.push(new WebpackError(message)); + compilation.errors.push(new compilation.compiler.webpack.WebpackError(message)); }
eda381ede39517414614480be70b86ca77229bdd
2021-02-13 15:19:07
Renovate Bot
build: update karma to version 6.1.1
false
update karma to version 6.1.1
build
diff --git a/integration/common-engine/package.json b/integration/common-engine/package.json index 775b1673937c..c109b8fd0944 100644 --- a/integration/common-engine/package.json +++ b/integration/common-engine/package.json @@ -49,7 +49,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", diff --git a/integration/express-engine-ivy-hybrid/package.json b/integration/express-engine-ivy-hybrid/package.json index 06c2c7b81722..f22969586451 100644 --- a/integration/express-engine-ivy-hybrid/package.json +++ b/integration/express-engine-ivy-hybrid/package.json @@ -51,7 +51,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", diff --git a/integration/express-engine-ivy/package.json b/integration/express-engine-ivy/package.json index 8100600a5266..acddd353e017 100644 --- a/integration/express-engine-ivy/package.json +++ b/integration/express-engine-ivy/package.json @@ -49,7 +49,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", diff --git a/integration/express-engine-ve/package.json b/integration/express-engine-ve/package.json index 593a1dafc4d6..86d77e7ef432 100644 --- a/integration/express-engine-ve/package.json +++ b/integration/express-engine-ve/package.json @@ -49,7 +49,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", diff --git a/integration/hapi-engine-ivy/package.json b/integration/hapi-engine-ivy/package.json index a1e93e366aa2..0628dfd78136 100644 --- a/integration/hapi-engine-ivy/package.json +++ b/integration/hapi-engine-ivy/package.json @@ -51,7 +51,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1", diff --git a/integration/hapi-engine-ve/package.json b/integration/hapi-engine-ve/package.json index bb24473d90cf..9dea7b509a71 100644 --- a/integration/hapi-engine-ve/package.json +++ b/integration/hapi-engine-ve/package.json @@ -51,7 +51,7 @@ "concurrently": "5.3.0", "jasmine-core": "3.6.0", "jasmine-spec-reporter": "6.0.0", - "karma": "6.1.0", + "karma": "6.1.1", "karma-chrome-launcher": "3.1.0", "karma-coverage-istanbul-reporter": "3.0.3", "karma-jasmine": "4.0.1",
31962eff737f432dc353dcb5a1a37cf29b057f6a
2016-09-01 10:24:12
PatrickJS
chore: correct npm scripts
false
correct npm scripts
chore
diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 85a857cb2611..e95b7f997b48 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -16,10 +16,10 @@ "build:inline": "node ./dist/server/server-bundle.js", "predebug:build:inline": "npm run build", "debug:build:inline": "node-nightly --inspect --debug-brk ./dist/server/server-bundle.js", - "copy:index": "npm run cpy 'src/index.html' 'dist/public' --cwd=src --parents", + "copy:index": "npm run cpy -- 'index.html' '../dist/public' --cwd=src --parents", "start": "npm run server", "server": "npm run server:dev", - "server:dev": "npm run nodemon ./dist/server/express-bundle.js", + "server:dev": "npm run nodemon -- ./dist/server/express-bundle.js", "debug:server:dev": "node-nightly --inspect --debug-brk ./dist/server/express-bundle.js", "server:prod": "npm run pm2 -- start dist/server/express-bundle.js --name=\"universal\" -i max --max-memory-restart 500 --no-daemon", "ab": "ab -t 10 -c 10 -k http://localhost:3000/",
fa146b8e86c951bd39bc0b61c3b303addfdf859f
2024-02-22 03:50:43
Charles "Demurgos" Samborski
fix(@angular-devkit/build-angular): allow `mts` and `cts` file replacement
false
allow `mts` and `cts` file replacement
fix
diff --git a/packages/angular_devkit/build_angular/src/builders/application/schema.json b/packages/angular_devkit/build_angular/src/builders/application/schema.json index 4cd4359bdc62..e82ecf523ead 100644 --- a/packages/angular_devkit/build_angular/src/builders/application/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/application/schema.json @@ -572,11 +572,11 @@ "properties": { "replace": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "with": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false, diff --git a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/schema.json b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/schema.json index fce927c3e443..20075928cd2a 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/schema.json @@ -483,11 +483,11 @@ "properties": { "replace": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "with": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false, diff --git a/packages/angular_devkit/build_angular/src/builders/browser/schema.json b/packages/angular_devkit/build_angular/src/builders/browser/schema.json index 428124d41c73..263d121227c7 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/browser/schema.json @@ -473,11 +473,11 @@ "properties": { "src": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "replaceWith": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false, @@ -488,11 +488,11 @@ "properties": { "replace": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "with": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false, diff --git a/packages/angular_devkit/build_angular/src/builders/server/schema.json b/packages/angular_devkit/build_angular/src/builders/server/schema.json index a18c468772ba..4ab03873d7d0 100644 --- a/packages/angular_devkit/build_angular/src/builders/server/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/server/schema.json @@ -270,11 +270,11 @@ "properties": { "src": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "replaceWith": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false, @@ -285,11 +285,11 @@ "properties": { "replace": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" }, "with": { "type": "string", - "pattern": "\\.(([cm]?j|t)sx?|json)$" + "pattern": "\\.(([cm]?[jt])sx?|json)$" } }, "additionalProperties": false,
818936e0d301d5486f60f05c46f739c855263fee
2017-05-05 00:54:09
Charles Lyding
feat(@angular/cli): use and support webpack 2.4
false
use and support webpack 2.4
feat
diff --git a/package.json b/package.json index 6d8c7f90f5d1..433b3f6d569d 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "typescript": "~2.2.0", "url-loader": "^0.5.7", "walk-sync": "^0.3.1", - "webpack": "~2.3.0", + "webpack": "~2.4.0", "webpack-dev-server": "~2.4.2", "webpack-merge": "^2.4.0", "zone.js": "^0.8.4" diff --git a/packages/@angular/cli/package.json b/packages/@angular/cli/package.json index 39286dc89c38..05d47cae2b84 100644 --- a/packages/@angular/cli/package.json +++ b/packages/@angular/cli/package.json @@ -80,7 +80,7 @@ "typescript": ">=2.0.0 <2.3.0", "url-loader": "^0.5.7", "walk-sync": "^0.3.1", - "webpack": "~2.3.0", + "webpack": "~2.4.0", "webpack-dev-server": "~2.4.2", "webpack-merge": "^2.4.0", "zone.js": "^0.8.4"
31d17e0dcaca085af848e0b354b98bd51b42af98
2023-11-02 21:42:49
Alan Agius
test(@angular/cli): delay changes to reduce `tests/legacy-cli/e2e/tests/basic/rebuild.ts` flakiness
false
delay changes to reduce `tests/legacy-cli/e2e/tests/basic/rebuild.ts` flakiness
test
diff --git a/tests/legacy-cli/e2e/tests/basic/rebuild.ts b/tests/legacy-cli/e2e/tests/basic/rebuild.ts index 374b9e58bb57..ce90caefb7ba 100644 --- a/tests/legacy-cli/e2e/tests/basic/rebuild.ts +++ b/tests/legacy-cli/e2e/tests/basic/rebuild.ts @@ -1,3 +1,4 @@ +import { setTimeout } from 'node:timers/promises'; import { getGlobalVariable } from '../../utils/env'; import { appendToFile, replaceInFile, writeMultipleFiles } from '../../utils/fs'; import { silentNg, waitForAnyProcessOutputToMatch } from '../../utils/process'; @@ -27,6 +28,7 @@ export default async function () { ]); // Change multiple files and check that all of them are invalidated and recompiled. + await setTimeout(500); await Promise.all([ waitForAnyProcessOutputToMatch(validBundleRegEx), appendToFile( @@ -46,6 +48,7 @@ export default async function () { ), ]); + await setTimeout(500); await Promise.all([ waitForAnyProcessOutputToMatch(validBundleRegEx), writeMultipleFiles({ @@ -74,6 +77,7 @@ export default async function () { } } + await setTimeout(500); await Promise.all([ waitForAnyProcessOutputToMatch(validBundleRegEx), writeMultipleFiles({ @@ -89,6 +93,7 @@ export default async function () { } } + await setTimeout(500); await Promise.all([ waitForAnyProcessOutputToMatch(validBundleRegEx), writeMultipleFiles({ @@ -104,6 +109,7 @@ export default async function () { } } + await setTimeout(500); await Promise.all([ waitForAnyProcessOutputToMatch(validBundleRegEx), writeMultipleFiles({
d87b858d41a1276b6b5ac08276c2e77fb790952f
2022-04-12 00:15:43
Charles Lyding
refactor(@angular/cli): add infrastructure support for schematics built-in modules
false
add infrastructure support for schematics built-in modules
refactor
diff --git a/packages/angular/cli/src/command-builder/utilities/schematic-engine-host.ts b/packages/angular/cli/src/command-builder/utilities/schematic-engine-host.ts index 57d678321d76..99e408b33392 100644 --- a/packages/angular/cli/src/command-builder/utilities/schematic-engine-host.ts +++ b/packages/angular/cli/src/command-builder/utilities/schematic-engine-host.ts @@ -7,7 +7,7 @@ */ import { RuleFactory, SchematicsException, Tree } from '@angular-devkit/schematics'; -import { NodeModulesEngineHost } from '@angular-devkit/schematics/tools'; +import { FileSystemCollectionDesc, NodeModulesEngineHost } from '@angular-devkit/schematics/tools'; import { readFileSync } from 'fs'; import { parse as parseJson } from 'jsonc-parser'; import nodeModule from 'module'; @@ -16,22 +16,19 @@ import { Script } from 'vm'; /** * Environment variable to control schematic package redirection - * Default: Angular schematics only */ const schematicRedirectVariable = process.env['NG_SCHEMATIC_REDIRECT']?.toLowerCase(); -function shouldWrapSchematic(schematicFile: string): boolean { +function shouldWrapSchematic(schematicFile: string, schematicEncapsulation: boolean): boolean { // Check environment variable if present - if (schematicRedirectVariable !== undefined) { - switch (schematicRedirectVariable) { - case '0': - case 'false': - case 'off': - case 'none': - return false; - case 'all': - return true; - } + switch (schematicRedirectVariable) { + case '0': + case 'false': + case 'off': + case 'none': + return false; + case 'all': + return true; } const normalizedSchematicFile = schematicFile.replace(/\\/g, '/'); @@ -45,20 +42,29 @@ function shouldWrapSchematic(schematicFile: string): boolean { return false; } - // Default is only first-party Angular schematic packages + // Check for first-party Angular schematic packages // Angular schematics are safe to use in the wrapped VM context - return /\/node_modules\/@(?:angular|schematics|nguniversal)\//.test(normalizedSchematicFile); + if (/\/node_modules\/@(?:angular|schematics|nguniversal)\//.test(normalizedSchematicFile)) { + return true; + } + + // Otherwise use the value of the schematic collection's encapsulation option (current default of false) + return schematicEncapsulation; } export class SchematicEngineHost extends NodeModulesEngineHost { - protected override _resolveReferenceString(refString: string, parentPath: string) { + protected override _resolveReferenceString( + refString: string, + parentPath: string, + collectionDescription?: FileSystemCollectionDesc, + ) { const [path, name] = refString.split('#', 2); // Mimic behavior of ExportStringRef class used in default behavior const fullPath = path[0] === '.' ? resolve(parentPath ?? process.cwd(), path) : path; const schematicFile = require.resolve(fullPath, { paths: [parentPath] }); - if (shouldWrapSchematic(schematicFile)) { + if (shouldWrapSchematic(schematicFile, !!collectionDescription?.encapsulation)) { const schematicPath = dirname(schematicFile); const moduleCache = new Map<string, unknown>(); @@ -78,7 +84,7 @@ export class SchematicEngineHost extends NodeModulesEngineHost { } // All other schematics use default behavior - return super._resolveReferenceString(refString, parentPath); + return super._resolveReferenceString(refString, parentPath, collectionDescription); } } @@ -128,6 +134,17 @@ function wrap( if (legacyModules[id]) { // Provide compatibility modules for older versions of @angular/cdk return legacyModules[id]; + } else if (id.startsWith('schematics:')) { + // Schematics built-in modules use the `schematics` scheme (similar to the Node.js `node` scheme) + const builtinId = id.slice(11); + const builtinModule = loadBuiltinModule(builtinId); + if (!builtinModule) { + throw new Error( + `Unknown schematics built-in module '${id}' requested from schematic '${schematicFile}'`, + ); + } + + return builtinModule; } else if (id.startsWith('@angular-devkit/') || id.startsWith('@schematics/')) { // Files should not redirect `@angular/core` and instead use the direct // dependency if available. This allows old major version migrations to continue to function @@ -201,3 +218,7 @@ function wrap( return exportsFactory; } + +function loadBuiltinModule(id: string): unknown { + return undefined; +}
8419f7feab62c9f7b444b916c485b2696110268e
2024-09-05 00:45:19
Alan Agius
refactor(@angular/ssr): move `ɵresetCompiledComponents` to `destroyAngularServerApp`
false
move `ɵresetCompiledComponents` to `destroyAngularServerApp`
refactor
diff --git a/packages/angular/ssr/src/app.ts b/packages/angular/ssr/src/app.ts index 06925a239a64..ec64dcdbbf75 100644 --- a/packages/angular/ssr/src/app.ts +++ b/packages/angular/ssr/src/app.ts @@ -168,13 +168,6 @@ export class AngularServerApp { ); } - if (typeof ngDevMode === 'undefined' || ngDevMode) { - // Need to clean up GENERATED_COMP_IDS map in `@angular/core`. - // Otherwise an incorrect component ID generation collision detected warning will be displayed in development. - // See: https://github.com/angular/angular-cli/issues/25924 - ɵresetCompiledComponents(); - } - const { manifest, hooks, assets } = this; let html = await assets.getIndexServerHtml(); @@ -220,5 +213,12 @@ export function getOrCreateAngularServerApp(): AngularServerApp { * typically when server configuration or application state needs to be refreshed. */ export function destroyAngularServerApp(): void { + if (typeof ngDevMode === 'undefined' || ngDevMode) { + // Need to clean up GENERATED_COMP_IDS map in `@angular/core`. + // Otherwise an incorrect component ID generation collision detected warning will be displayed in development. + // See: https://github.com/angular/angular-cli/issues/25924 + ɵresetCompiledComponents(); + } + angularServerApp = undefined; } diff --git a/packages/angular/ssr/src/routes/ng-routes.ts b/packages/angular/ssr/src/routes/ng-routes.ts index 3ead85923c82..d2ef31608752 100644 --- a/packages/angular/ssr/src/routes/ng-routes.ts +++ b/packages/angular/ssr/src/routes/ng-routes.ts @@ -15,7 +15,6 @@ import { platformCore, ɵwhenStable as whenStable, ɵConsole, - ɵresetCompiledComponents, } from '@angular/core'; import { INITIAL_CONFIG, @@ -191,13 +190,6 @@ export async function getRoutesFromAngularRouterConfig( document: string, url: URL, ): Promise<AngularRouterConfigResult> { - if (typeof ngDevMode === 'undefined' || ngDevMode) { - // Need to clean up GENERATED_COMP_IDS map in `@angular/core`. - // Otherwise an incorrect component ID generation collision detected warning will be displayed in development. - // See: https://github.com/angular/angular-cli/issues/25924 - ɵresetCompiledComponents(); - } - const { protocol, host } = url; // Create and initialize the Angular platform for server-side rendering.
dd4f177a888ff5d934c6ce848ecd1781fe3538c3
2017-02-23 09:51:25
Hans Larsen
ci: fix travis
false
fix travis
ci
diff --git a/packages/@angular/cli/commands/completion.ts b/packages/@angular/cli/commands/completion.ts index 5e14954474a8..1147c7e48f6b 100644 --- a/packages/@angular/cli/commands/completion.ts +++ b/packages/@angular/cli/commands/completion.ts @@ -62,14 +62,14 @@ const CompletionCommand = Command.extend({ name: 'bash', type: Boolean, default: false, - aliases: ['b'] + aliases: ['b'], description: 'Generate a completion script for bash.' }, { name: 'zsh', type: Boolean, default: false, - aliases: ['z'] + aliases: ['z'], description: 'Generate a completion script for zsh.' } ], diff --git a/packages/@angular/cli/commands/set.ts b/packages/@angular/cli/commands/set.ts index c37e706aaf1a..f5de2ba9f056 100644 --- a/packages/@angular/cli/commands/set.ts +++ b/packages/@angular/cli/commands/set.ts @@ -1,4 +1,4 @@ -\import {CliConfig} from '../models/config'; +import {CliConfig} from '../models/config'; const SilentError = require('silent-error'); const Command = require('../ember-cli/lib/models/command');
3b46107a2fb4f586e4f61d77c93282673414ab68
2019-05-31 02:41:41
Renovate Bot
build: update @angular/animations to version
false
update @angular/animations to version
build
diff --git a/tests/legacy-cli/e2e/ng-snapshot/package.json b/tests/legacy-cli/e2e/ng-snapshot/package.json index 7c36612aefe5..70ef51550c15 100644 --- a/tests/legacy-cli/e2e/ng-snapshot/package.json +++ b/tests/legacy-cli/e2e/ng-snapshot/package.json @@ -2,15 +2,15 @@ "description": "snapshot versions of Angular for e2e testing", "private": true, "dependencies": { - "@angular/animations": "github:angular/animations-builds#421ef090faf1f49604efba0444939db11f08130c", - "@angular/common": "github:angular/common-builds#fdb501a03169b4af2727ecfe9cf2ea51aea29bf2", - "@angular/compiler": "github:angular/compiler-builds#bb7e6ece56f2f8141e61a6083512b12c2106d1df", - "@angular/compiler-cli": "github:angular/compiler-cli-builds#ba4494fa4f4da1f90164e3b2b757e2f213c03821", - "@angular/core": "github:angular/core-builds#be71bbe4eb9fd3be315d5f22d6b2ffc3e3f287ce", - "@angular/forms": "github:angular/forms-builds#f01cff105563fd0f73ca0d0ed122d8eac4be4f94", - "@angular/language-service": "github:angular/language-service-builds#232a6a1fbb2beb9364a14f847d1490fce8f42fdf", - "@angular/platform-browser": "github:angular/platform-browser-builds#68e5d25b0b5db2c84a1b6f12650c029cd399f583", - "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#35339ea39a9469a13e278e28c82a97d8d7be184c", - "@angular/router": "github:angular/router-builds#8938ec2932bb08040ab0b02f203155c03aab7835" + "@angular/animations": "github:angular/animations-builds#1e34cab0423db59c3b364c948337d74ce4f655f0", + "@angular/common": "github:angular/common-builds#3830190f3c40574b790bb3293eec43922504a7d1", + "@angular/compiler": "github:angular/compiler-builds#dec1d0ae65eb72be351688f41942aa7906d63a85", + "@angular/compiler-cli": "github:angular/compiler-cli-builds#760f674ae4521cbb3e466cecebf6d56a2298d2ff", + "@angular/core": "github:angular/core-builds#3c57d29f87d0e6d04019458bf9039ca7a761e692", + "@angular/forms": "github:angular/forms-builds#05058433150bd292035551f3ba494fe5067ba5b6", + "@angular/language-service": "github:angular/language-service-builds#f93bbf43d420a6de2143797384754b7ec520bde0", + "@angular/platform-browser": "github:angular/platform-browser-builds#6275982f552fa3be5cc6357ad77417ce9bc535ac", + "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#a698e7053da378af94b0866c9d1c11863ac5139c", + "@angular/router": "github:angular/router-builds#cde8b1753d043667fe2548495fab136307c325f2" } } \ No newline at end of file
a2ea05e5bf883afe08b6222ca85d3a7253762f5e
2017-01-21 03:44:01
Filipe Silva
fix(scripts): allow using same lib inside app (#3814)
false
allow using same lib inside app (#3814)
fix
diff --git a/packages/angular-cli/models/webpack-build-common.ts b/packages/angular-cli/models/webpack-build-common.ts index 7d6b857bb187..ae2d05e698cd 100644 --- a/packages/angular-cli/models/webpack-build-common.ts +++ b/packages/angular-cli/models/webpack-build-common.ts @@ -59,16 +59,11 @@ export function getWebpackCommonConfig( if (appConfig.scripts.length > 0) { const globalScripts = extraEntryParser(appConfig.scripts, appRoot, 'scripts'); - // add script entry points - globalScripts.forEach(script => - entryPoints[script.entry] - ? entryPoints[script.entry].push(script.path) - : entryPoints[script.entry] = [script.path] - ); - - // load global scripts using script-loader - extraRules.push({ - include: globalScripts.map((script) => script.path), test: /\.js$/, loader: 'script-loader' + // add entry points and lazy chunks + globalScripts.forEach(script => { + let scriptPath = `script-loader!${script.path}`; + if (script.lazy) { lazyChunks.push(script.entry); } + entryPoints[script.entry] = (entryPoints[script.entry] || []).concat(scriptPath); }); } diff --git a/tests/e2e/tests/build/scripts-array.ts b/tests/e2e/tests/build/scripts-array.ts index 7aad2420831b..f3d2a02ac34e 100644 --- a/tests/e2e/tests/build/scripts-array.ts +++ b/tests/e2e/tests/build/scripts-array.ts @@ -1,6 +1,7 @@ import { writeMultipleFiles, - expectFileToMatch + expectFileToMatch, + appendToFile } from '../../utils/fs'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; @@ -16,6 +17,7 @@ export default function () { 'src/common-entry-script.js': 'console.log(\'common-entry-script\');', 'src/common-entry-style.css': '.common-entry-style { color: red }', }) + .then(() => appendToFile('src/main.ts', 'import \'./string-script.js\';')) .then(() => updateJsonFile('angular-cli.json', configJson => { const app = configJson['apps'][0]; app['scripts'] = [ @@ -48,5 +50,7 @@ export default function () { <script type="text/javascript" src="scripts.bundle.js"></script> <script type="text/javascript" src="vendor.bundle.js"></script> <script type="text/javascript" src="main.bundle.js"></script> - `)); + `)) + // ensure scripts aren't using script-loader when imported from the app + .then(() => expectFileToMatch('dist/main.bundle.js', 'console.log(\'string-script\');')); }
00515e171173b367c79b3929f3d894ab8482d2be
2022-07-22 04:33:09
Angular Robot
build: update angular
false
update angular
build
diff --git a/.github/workflows/dev-infra.yml b/.github/workflows/dev-infra.yml index eee05bbcc33a..ea3b5e4235e5 100644 --- a/.github/workflows/dev-infra.yml +++ b/.github/workflows/dev-infra.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 - - uses: angular/dev-infra/github-actions/commit-message-based-labels@4b8b706a0cd6ae9bc542fe74417040375239aeeb + - uses: angular/dev-infra/github-actions/commit-message-based-labels@114c5a9e0c063e65dc42ded4d2ae07a3cca5418a with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} post_approval_changes: runs-on: ubuntu-latest steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 - - uses: angular/dev-infra/github-actions/post-approval-changes@4b8b706a0cd6ae9bc542fe74417040375239aeeb + - uses: angular/dev-infra/github-actions/post-approval-changes@114c5a9e0c063e65dc42ded4d2ae07a3cca5418a with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/feature-requests.yml b/.github/workflows/feature-requests.yml index 3d2a0a6f5c50..02fbdb28d048 100644 --- a/.github/workflows/feature-requests.yml +++ b/.github/workflows/feature-requests.yml @@ -16,6 +16,6 @@ jobs: if: github.repository == 'angular/angular-cli' runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/feature-request@4b8b706a0cd6ae9bc542fe74417040375239aeeb + - uses: angular/dev-infra/github-actions/feature-request@114c5a9e0c063e65dc42ded4d2ae07a3cca5418a with: angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} diff --git a/.github/workflows/lock-closed.yml b/.github/workflows/lock-closed.yml index 2d089e1b197d..f7dd5221a468 100644 --- a/.github/workflows/lock-closed.yml +++ b/.github/workflows/lock-closed.yml @@ -13,6 +13,6 @@ jobs: lock_closed: runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/lock-closed@4b8b706a0cd6ae9bc542fe74417040375239aeeb + - uses: angular/dev-infra/github-actions/lock-closed@114c5a9e0c063e65dc42ded4d2ae07a3cca5418a with: lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }} diff --git a/package.json b/package.json index ee8edd861f2f..16ee0811c2ca 100644 --- a/package.json +++ b/package.json @@ -64,21 +64,21 @@ }, "devDependencies": { "@ampproject/remapping": "2.2.0", - "@angular/animations": "14.0.6", + "@angular/animations": "14.1.0", "@angular/cdk": "14.1.0", - "@angular/common": "14.0.6", - "@angular/compiler": "14.0.6", - "@angular/compiler-cli": "14.0.6", - "@angular/core": "14.0.6", - "@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#cdaaa155363dfe5a67493d71803a4b721f01cbad", - "@angular/forms": "14.0.6", - "@angular/localize": "14.0.6", + "@angular/common": "14.1.0", + "@angular/compiler": "14.1.0", + "@angular/compiler-cli": "14.1.0", + "@angular/core": "14.1.0", + "@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#b2da73b3dddddd6a253ee8ea48ef387b20f5aedf", + "@angular/forms": "14.1.0", + "@angular/localize": "14.1.0", "@angular/material": "14.1.0", - "@angular/platform-browser": "14.0.6", - "@angular/platform-browser-dynamic": "14.0.6", - "@angular/platform-server": "14.0.6", - "@angular/router": "14.0.6", - "@angular/service-worker": "14.0.6", + "@angular/platform-browser": "14.1.0", + "@angular/platform-browser-dynamic": "14.1.0", + "@angular/platform-server": "14.1.0", + "@angular/router": "14.1.0", + "@angular/service-worker": "14.1.0", "@babel/core": "7.18.9", "@babel/generator": "7.18.9", "@babel/helper-annotate-as-pure": "7.18.6", diff --git a/packages/ngtools/webpack/package.json b/packages/ngtools/webpack/package.json index e741fbc604ce..0213b9447145 100644 --- a/packages/ngtools/webpack/package.json +++ b/packages/ngtools/webpack/package.json @@ -28,8 +28,8 @@ }, "devDependencies": { "@angular-devkit/core": "0.0.0-PLACEHOLDER", - "@angular/compiler": "14.0.6", - "@angular/compiler-cli": "14.0.6", + "@angular/compiler": "14.1.0", + "@angular/compiler-cli": "14.1.0", "typescript": "~4.7.2", "webpack": "5.73.0" } diff --git a/tests/legacy-cli/e2e/ng-snapshot/package.json b/tests/legacy-cli/e2e/ng-snapshot/package.json index 8cd403f84646..198db7e9569a 100644 --- a/tests/legacy-cli/e2e/ng-snapshot/package.json +++ b/tests/legacy-cli/e2e/ng-snapshot/package.json @@ -2,21 +2,21 @@ "description": "snapshot versions of Angular for e2e testing", "private": true, "dependencies": { - "@angular/animations": "github:angular/animations-builds#587095109716fd3b65797b22678bb14d55ced3e6", - "@angular/cdk": "github:angular/cdk-builds#00189cc946503fb5fccc222e7f1bd36f8a04d75d", - "@angular/common": "github:angular/common-builds#f168534e20b78092c23c41f56db3694710a8c28c", - "@angular/compiler": "github:angular/compiler-builds#3524037c939382e774c4abaa12bfa0779ac87280", - "@angular/compiler-cli": "github:angular/compiler-cli-builds#09ee973845ae9160ece5d31f0894f115c9b1b4c4", - "@angular/core": "github:angular/core-builds#93de46f467b0f18aebf21a17893b277ef56624f6", - "@angular/forms": "github:angular/forms-builds#611a33ec1373388633dfd755f6f1d17a3afed3d5", - "@angular/language-service": "github:angular/language-service-builds#2f06b4f8805c483573aab8d2eeb99d6f58a9b023", - "@angular/localize": "github:angular/localize-builds#32a097816f2ec98f8c04f3dd08171af565b3a368", - "@angular/material": "github:angular/material-builds#fda64ea0be88c31ef88d875af3819902757d0c61", - "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#5d3aae3742480b40dffcc192d92bdf51605c0b90", - "@angular/platform-browser": "github:angular/platform-browser-builds#15cb6b3c88a83ced8f48f61121f53c4ad75b36c5", - "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#d6c7c0e09df3f4c89e43478670480e0ddabcad8b", - "@angular/platform-server": "github:angular/platform-server-builds#c0418c5f72265af40ac6da7ffad0077110050cb7", - "@angular/router": "github:angular/router-builds#b27aa32dce64fe99e96506b437ea3079920db1f8", - "@angular/service-worker": "github:angular/service-worker-builds#272f174a625b7da374a0ee8426eec58b2a9ff7d1" + "@angular/animations": "github:angular/animations-builds#eb5ca2d73551cf13f5bc6639b746b36ee571c3f4", + "@angular/cdk": "github:angular/cdk-builds#95f97c5fc289ab9c75a604dd3659017de98d8e3d", + "@angular/common": "github:angular/common-builds#6095bb272ca29ec61375faa592861d9362a4c100", + "@angular/compiler": "github:angular/compiler-builds#80172abaf6bbfbdb33cfc28b32d92ff922ca9ea5", + "@angular/compiler-cli": "github:angular/compiler-cli-builds#69e264f1ba843f9d6ea44b162ead8d3e8c17838f", + "@angular/core": "github:angular/core-builds#5d92f5d2d13ad07351fd12bf8253bd36a1f46c43", + "@angular/forms": "github:angular/forms-builds#96541330a10894842b6ac4e5ade83cd3dc5d7527", + "@angular/language-service": "github:angular/language-service-builds#4f653622380f6bbe469138790590d73ddedc57ff", + "@angular/localize": "github:angular/localize-builds#4adb61a4797b2c04559b7512e15d6f9f2dee133e", + "@angular/material": "github:angular/material-builds#49b47db040392c331a645210fb4ce053262273f6", + "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#1e5c5eb2d75d4743f1d88dd0193da8954f7ae5c7", + "@angular/platform-browser": "github:angular/platform-browser-builds#d2f921795bc3ce72d930d71f26d972ea038bbbc9", + "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#aeeeff87820a463a10ec5f34cba2a2991035d0cd", + "@angular/platform-server": "github:angular/platform-server-builds#6c36ef07146da5939fa960fc94c2eeaebfa7e4bb", + "@angular/router": "github:angular/router-builds#faad302abb682398af6d845e22519f99adcc3d74", + "@angular/service-worker": "github:angular/service-worker-builds#84a8d1fa81d497a0ea8e7bf46bb176f1249a31db" } } diff --git a/yarn.lock b/yarn.lock index a94722d6719f..e9e1e7db15bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -107,10 +107,10 @@ rxjs "6.6.7" source-map "0.7.4" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-14.0.6.tgz#7f7c3a64fbbeee9fd7141649cb903d59c65a15f5" - integrity sha512-l363hFgj5Dxw6WKZkJRd77izOznCqJVrWhxfO9ERG0ShVUb/3WB9RSOUCVltDrTY5sFK+cw+slQYGH6AXgvMVQ== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-14.1.0.tgz#a819b2c012ce507d6260c86b089f73fd00c3bf59" + integrity sha512-OhEXi1u/M4QyltDCxSqo7YzF7ELgNDWNqbbM7vtWIcrc4c+Yiu1GXhW/GQRosF3WAuQVfdQzEI0VTeNoo98Kvw== dependencies: tslib "^2.3.0" @@ -131,17 +131,17 @@ optionalDependencies: parse5 "^5.0.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-14.0.6.tgz#1ae36eec1b9030f78ab8c62916ef9af7a9a92bea" - integrity sha512-AynjE7OOEfrdKmS3nu00tkf4g66cx97T6qhfaTvc3hKi45MreBcJkIMcSowF24peygvUN41htMJuq3WQLu92iQ== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-14.1.0.tgz#84886e7f74c6e475377fdc9150d0d184583ca8f5" + integrity sha512-leethDtLbA3qySaOEBUto602DF0qH1maK9u2zHncrUFOpnHAYUEd7N9MFMdIYASurTnwOSglEoIDCML94qzImQ== dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-14.0.6.tgz#c87e2698b6a642919bfe9b5d66ea9ef3095a396d" - integrity sha512-w1ccZEzbRRqzMNaty0P4QliSslmR+9pBhDpKNfI+PsRqjJOnyC9tFdtZQLjcbnaM8W0yJLnCfZQ7KKXjnjzawg== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-14.1.0.tgz#83adac3432dbc2b362fac258facc8ca9f06783eb" + integrity sha512-llJkDnv0+riTdRPdOJv/FToz4X9ZO1URnalW+tIe2RyfOzkEqM+VLD/x+3cVgnsaFKuoPxIjZEkMoppGwVB4kg== dependencies: "@babel/core" "^7.17.2" chokidar "^3.0.0" @@ -154,24 +154,31 @@ tslib "^2.3.0" yargs "^17.2.1" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-14.0.6.tgz#d2cd7afac7bb833ff4298aec1abd460f6ed32910" - integrity sha512-zYq3+Pg6m7NKivqEk+vNy+5ic5A+B0ReqIECjs10pVeXoWBxjvZAqG2ksrCQ0axtju2hA3lrFsDthLShWBEf4g== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-14.1.0.tgz#25f1eb12e3fdf49223bf6cdf7c0637d149860633" + integrity sha512-aLbtpFDF3fp/DOEsWSdpszmoNZAb0To/zoKhHVmEReuUKkMtlPNd3+e6wkR2vrvR/cWgbKwdb7RQ1IQtGDu74A== dependencies: tslib "^2.3.0" -"@angular/[email protected]", "@angular/core@^13.0.0 || ^14.0.0-0": +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-14.1.0.tgz#5a0fa164ca180027d4c54a5b70e7357918f9af9b" + integrity sha512-3quEsHmQifJOQ2oij5K+cjGjmhsKsyZI1+OTHWNZ6IXeuYviZv4U/Cui9fUJ1RN3CZxH3NzWB3gB/5qYFQfOgg== + dependencies: + tslib "^2.3.0" + +"@angular/core@^13.0.0 || ^14.0.0-0": version "14.0.6" resolved "https://registry.yarnpkg.com/@angular/core/-/core-14.0.6.tgz#697d52ca9d772877a5138af26d1d9c5e7c267ade" integrity sha512-hyQ3s9Yrm3ejhumgAC9ENhMFmvmPlJkk1tEOjruyoiHwK4EOaDpI+GCNQIBUB1Z3B/QLMlgZeMXrULQztjSQwg== dependencies: tslib "^2.3.0" -"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#cdaaa155363dfe5a67493d71803a4b721f01cbad": - version "0.0.0-4b8b706a0cd6ae9bc542fe74417040375239aeeb" - uid cdaaa155363dfe5a67493d71803a4b721f01cbad - resolved "https://github.com/angular/dev-infra-private-builds.git#cdaaa155363dfe5a67493d71803a4b721f01cbad" +"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#b2da73b3dddddd6a253ee8ea48ef387b20f5aedf": + version "0.0.0-114c5a9e0c063e65dc42ded4d2ae07a3cca5418a" + uid b2da73b3dddddd6a253ee8ea48ef387b20f5aedf + resolved "https://github.com/angular/dev-infra-private-builds.git#b2da73b3dddddd6a253ee8ea48ef387b20f5aedf" dependencies: "@angular-devkit/build-angular" "14.1.0-rc.3" "@angular/benchpress" "0.3.0" @@ -206,19 +213,19 @@ uuid "^8.3.2" yargs "^17.0.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-14.0.6.tgz#87aa36b1a3f3bd1ca71615fd250f04f8e660971c" - integrity sha512-ITa3A6pWecDgDjBTlwQnJnSOc1o35bIvRpTclLx/ysDbn4FB2tPy4iseCSrOlgdJHZjBcHBIxX27yYjWyBfIwQ== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-14.1.0.tgz#17a7ec211a11b75572d89359f08c277cfcdb1210" + integrity sha512-y7VQ2t+/ASEjzt8zXg4y5b03lMSPHmnhy4XzjDT14ZFrALaSxyhkSqoBfAksPkTeKmsFMnP/VgLboRsE8TLs0Q== dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-14.0.6.tgz#a9c556511e20aaa4edd425ef4336a9d9ed891691" - integrity sha512-ognxBqlYVp94flsCRCsoVA4Qp8MENYOHbj0Hqd6R4McnIIp9SFsixH05v7fkHywCEl/Ot7gcu1rQPkooT89/Kw== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/localize/-/localize-14.1.0.tgz#cceaf47af06edbb4058f109f68bb82cd720c82a6" + integrity sha512-kGiSLDhYCCYyHgXFjy6P9VCCD9dI/IqM0V6Vn/cCL+ZCVUz6pcsGtnhfU6bycMYwyv72py51hMYKMEVR+nfIhQ== dependencies: - "@babel/core" "7.18.6" + "@babel/core" "7.18.9" glob "8.0.3" yargs "^17.2.1" @@ -229,40 +236,40 @@ dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-14.0.6.tgz#a05fa27f9bbc4a0a0fbb25fd8058a9f6791cf7f6" - integrity sha512-iYWmzUDWO+qc7wN1ED3dIkvDjIBdSqh/gpFvLGyCUZBwzwZ45sJOT/YgCmLBzBsVV/2GhAhV0QL4ioVQ5Jy3UA== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-14.1.0.tgz#9e30c5c4d2ff507402dcb36a5878068d8d900b81" + integrity sha512-0Lxz3HJ9qTOyMTp5Qud2tycP7wqe+tnHOSUqDywrbNRozTKGX0z3i+l0KMku3BtUbuMi3tJomqV914/dtbCvIw== dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-14.0.6.tgz#5a98fc8f52c076dd0ead03b3c5ecabbd4dc7abb4" - integrity sha512-d9PS2E5HSgiKzItHzVdxdBoMeaOvlDo6ccSEXLYCGyJ9MykDjKvJPWy6GicilBPa8g4VGJpk9J+lbgXXAOkCFA== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-14.1.0.tgz#6259e3fe7eacaffa18679dd588116e23eac7cf6d" + integrity sha512-axNXUSqxsP0QSdNskd1pFo2uMo1UNoFaSAB02eDWwLkWQ1pWel+T78HiQY2bNeI3elgzjwPTT4vCCDQKNVTNig== dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-14.0.6.tgz#edd31b56f337e13d82a9e4e2325f5bbae6122b36" - integrity sha512-VHSKkunG+espoMB5cVAsp9H1CAD7pmd6CqVIQZEK5SDSjuLNmrO4pNxlbODHTesZRkUb2APZE5Rh0OTItrJS/w== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-14.1.0.tgz#79fae1e397dcabcf82bb4f1fedb6a886206a0675" + integrity sha512-qX35UbN1K7dzZWjvuQHx5iHyHytRnblQ4B33vIGjeboTUdgqaHyd44p5nTs4OEcZ4JYfnZr2Q30rIo/Ed3LTHA== dependencies: domino "^2.1.2" tslib "^2.3.0" xhr2 "^0.2.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-14.0.6.tgz#008852d6796781d1dcb32899dd7e2921e8245bdf" - integrity sha512-FFLnaBuOASqUCbr8QIBX8Y+PbSSVrN6YFVI82bQDr2fesI+5UdLTfiEBUMizwnQ4choEtSd8542DjiEW8Rc+lA== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-14.1.0.tgz#a377dc8fee53f84657af260442183c7b9526a4d0" + integrity sha512-WBC1E+d9RS8vy57zJ6LVtWT3AM12mEHY7SCMBRJNBcrmBYJwojxeV8IVkUoW4Ds910gG/w3LjIN0eNHg5qRtNA== dependencies: tslib "^2.3.0" -"@angular/[email protected]": - version "14.0.6" - resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-14.0.6.tgz#234b5273faaff641f8dcc8f9419246557e59e0b0" - integrity sha512-QwbXtcP9z9hndmno+y9CiB6TwDHbegype3BUBhyA73Rw8Y/OGnldphEtv37i3UhYr+MCgVfdcXFN4nx43CcEng== +"@angular/[email protected]": + version "14.1.0" + resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-14.1.0.tgz#5a2e97f5d39fda88748329f3e850e27cbfd76020" + integrity sha512-kwMHduhZqWzOZbt9xhRbEtixZAdppdW4NtUVpzBJAfDC/7l3cEwLhTgcwwC9rP1E1LIFXWKJUARKXOCjMD9lQQ== dependencies: tslib "^2.3.0"
a8ff9d408b82ff73b79ae2d3441510a3286bca82
2021-04-22 01:08:17
Alan Agius
test(@angular-devkit/build-angular): add `debounceTime` to stabilize FS
false
add `debounceTime` to stabilize FS
test
diff --git a/packages/angular_devkit/build_angular/src/ng-packagr/works_spec.ts b/packages/angular_devkit/build_angular/src/ng-packagr/works_spec.ts index 52eea6f67a10..81fea70bba00 100644 --- a/packages/angular_devkit/build_angular/src/ng-packagr/works_spec.ts +++ b/packages/angular_devkit/build_angular/src/ng-packagr/works_spec.ts @@ -16,7 +16,7 @@ import { virtualFs, workspaces, } from '@angular-devkit/core'; -import { map, take, tap } from 'rxjs/operators'; +import { debounceTime, map, take, tap } from 'rxjs/operators'; // Default timeout for large specs is 2.5 minutes. jasmine.DEFAULT_TIMEOUT_INTERVAL = 150000; @@ -87,6 +87,7 @@ describe('NgPackagr Builder', () => { await run.output.pipe( tap((buildEvent) => expect(buildEvent.success).toBe(true)), + debounceTime(1000), map(() => { const fileName = './dist/lib/fesm2015/lib.js'; const content = virtualFs.fileBufferToString(
f75f7029873cb375760bce999c2442de523f131e
2020-01-07 18:23:25
Alan Agius
test: refactor to use npm cli packages from workspace (#1435)
false
refactor to use npm cli packages from workspace (#1435)
test
diff --git a/integration/express-engine-ivy-prerender/package.json b/integration/express-engine-ivy-prerender/package.json index ea7dc4c6796d..b5a08c5c40a4 100644 --- a/integration/express-engine-ivy-prerender/package.json +++ b/integration/express-engine-ivy-prerender/package.json @@ -37,8 +37,8 @@ "zone.js": "file:../../node_modules/zone.js" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.900.0-next.10", - "@angular/cli": "^9.0.0-next.10", + "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", + "@angular/cli": "file:../../node_modules/@angular/cli", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@types/express": "file:../../node_modules/@types/express", "@types/node": "file:../../node_modules/@types/node", diff --git a/integration/express-engine-ivy/package.json b/integration/express-engine-ivy/package.json index b8b23ab4e4d0..8fbb8099699c 100644 --- a/integration/express-engine-ivy/package.json +++ b/integration/express-engine-ivy/package.json @@ -35,8 +35,8 @@ "zone.js": "file:../../node_modules/zone.js" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.900.0-next.10", - "@angular/cli": "^9.0.0-next.10", + "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", + "@angular/cli": "file:../../node_modules/@angular/cli", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@types/express": "file:../../node_modules/@types/express", "@types/node": "file:../../node_modules/@types/node", diff --git a/integration/express-engine-ve/package.json b/integration/express-engine-ve/package.json index 272711db0c4e..42bf738101e8 100644 --- a/integration/express-engine-ve/package.json +++ b/integration/express-engine-ve/package.json @@ -35,8 +35,8 @@ "zone.js": "file:../../node_modules/zone.js" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.900.0-next.10", - "@angular/cli": "^9.0.0-next.10", + "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", + "@angular/cli": "file:../../node_modules/@angular/cli", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@types/express": "file:../../node_modules/@types/express", "@types/node": "file:../../node_modules/@types/node", diff --git a/integration/hapi-engine-ivy/package.json b/integration/hapi-engine-ivy/package.json index 05091dbcfabf..c217febadaf8 100644 --- a/integration/hapi-engine-ivy/package.json +++ b/integration/hapi-engine-ivy/package.json @@ -36,8 +36,8 @@ "zone.js": "file:../../node_modules/zone.js" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.900.0-next.10", - "@angular/cli": "^9.0.0-next.10", + "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", + "@angular/cli": "file:../../node_modules/@angular/cli", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@types/hapi__hapi": "^18.2.5", "@types/hapi__inert": "^5.2.0", diff --git a/integration/hapi-engine-ve/package.json b/integration/hapi-engine-ve/package.json index 432a50f0cd2b..1aa0c02512db 100644 --- a/integration/hapi-engine-ve/package.json +++ b/integration/hapi-engine-ve/package.json @@ -36,8 +36,8 @@ "zone.js": "file:../../node_modules/zone.js" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.900.0-next.10", - "@angular/cli": "^9.0.0-next.10", + "@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular", + "@angular/cli": "file:../../node_modules/@angular/cli", "@angular/compiler-cli": "file:../../node_modules/@angular/compiler-cli", "@types/hapi__hapi": "^18.2.5", "@types/hapi__inert": "^5.2.0",
02bea8cc18ab3d514eae85fc26f970e962fe689b
2021-05-26 19:47:26
Alan Agius
fix(@angular-devkit/build-angular): hide stacktraces from dart-sass errors
false
hide stacktraces from dart-sass errors
fix
diff --git a/packages/angular_devkit/build_angular/src/sass/worker.ts b/packages/angular_devkit/build_angular/src/sass/worker.ts index ee44149065e1..dad48cde5341 100644 --- a/packages/angular_devkit/build_angular/src/sass/worker.ts +++ b/packages/angular_devkit/build_angular/src/sass/worker.ts @@ -79,6 +79,8 @@ parentPort.on('message', (message: RenderRequestMessage | InitMessage) => { parentPort?.postMessage({ id, result }); } catch (error) { - parentPort?.postMessage({ id, error }); + // Needed because V8 will only serialize the message and stack properties of an Error instance. + const { formatted, file, line, column, message, stack } = error; + parentPort?.postMessage({ id, error: { formatted, file, line, column, message, stack } }); } });
f958eae49ea70e5be848e4db6bcc618a5cdfbdfe
2016-05-17 11:04:54
gdi2290
style(universal): correct types for bootloader
false
correct types for bootloader
style
diff --git a/modules/universal/src/node/bootloader.ts b/modules/universal/src/node/bootloader.ts index 2a3d305703ee..360925e68749 100644 --- a/modules/universal/src/node/bootloader.ts +++ b/modules/universal/src/node/bootloader.ts @@ -71,11 +71,11 @@ export class Bootloader { let rendered = Bootloader.serializeDocument(document); return rendered; } - static parseFragment(document) { return parseFragment(document); } - static parseDocument(document) { return parseDocument(document); } - static serializeDocument(document) { return serializeDocument(document); } + static parseFragment(document: string) { return parseFragment(document); } + static parseDocument(document: string) { return parseDocument(document); } + static serializeDocument(document: Object) { return serializeDocument(document); } - document(document = null) { + document(document: string | Object = null): Object { var doc = document || this._config.template || this._config.document; if (typeof doc === 'string') { return Bootloader.parseDocument(doc);
2925f067da487cd75678eba805d835a70c7279bb
2022-08-26 20:05:11
Alan Agius
test: remove hardcoded worker chunk id
false
remove hardcoded worker chunk id
test
diff --git a/tests/legacy-cli/e2e/tests/build/worker.ts b/tests/legacy-cli/e2e/tests/build/worker.ts index a930a8ce3ff2..a8dc02e0b4f9 100644 --- a/tests/legacy-cli/e2e/tests/build/worker.ts +++ b/tests/legacy-cli/e2e/tests/build/worker.ts @@ -6,6 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ +import { readdir } from 'fs/promises'; import { expectFileToExist, expectFileToMatch, replaceInFile, writeFile } from '../../utils/fs'; import { ng } from '../../utils/process'; @@ -26,7 +27,8 @@ export default async function () { await expectFileToMatch('dist/test-project/main.js', 'src_app_app_worker_ts'); await ng('build', '--output-hashing=none'); - const chunkId = '151'; + + const chunkId = await getWorkerChunkId(); await expectFileToExist(`dist/test-project/${chunkId}.js`); await expectFileToMatch('dist/test-project/main.js', chunkId); @@ -53,3 +55,14 @@ export default async function () { await ng('e2e'); } + +async function getWorkerChunkId(): Promise<string> { + const files = await readdir('dist/test-project'); + const fileName = files.find((f) => /^\d{3}\.js$/.test(f)); + + if (!fileName) { + throw new Error('Cannot determine worker chunk Id.'); + } + + return fileName.substring(0, 3); +}
43f67af3dc5cf63baa19dfd0a0d99aa1a090f1d2
2016-03-04 23:17:20
gdi2290
refactor(universal): split Http from precache
false
split Http from precache
refactor
diff --git a/modules/universal/server/src/http/index.ts b/modules/universal/server/src/http/index.ts new file mode 100644 index 000000000000..3b9887057c1e --- /dev/null +++ b/modules/universal/server/src/http/index.ts @@ -0,0 +1,51 @@ +import { + ConnectionBackend, + ResponseOptions, + RequestOptions, + BrowserXhr, + Http, + BaseRequestOptions, + BaseResponseOptions +} from 'angular2/http'; +import {provide, PLATFORM_INITIALIZER} from 'angular2/core'; +; +import * as nodeHttp from './node_http' +import * as preloadCache from './preload_cache'; + +export * from './node_http' +export * from './preload_cache'; + +export var NODE_HTTP_PROVIDERS: Array<any> = [ + provide(RequestOptions, {useClass: BaseRequestOptions}), + provide(ResponseOptions, {useClass: BaseResponseOptions}), + + provide(nodeHttp.NodeBackend, { + useFactory: (respOpt) => { + return new nodeHttp.NodeBackend(respOpt); + }, + deps: [ResponseOptions] + }), + + provide(ConnectionBackend, {useClass: nodeHttp.NodeBackend}), + provide(Http, {useClass: Http}) +]; + +export var NODE_PRELOAD_CACHE_HTTP_PROVIDERS: Array<any> = [ + provide(preloadCache.BASE_URL, {useValue: ''}), + provide(preloadCache.PRIME_CACHE, {useValue: false}), + provide(RequestOptions, {useClass: BaseRequestOptions}), + provide(ResponseOptions, {useClass: BaseResponseOptions}), + + provide(BrowserXhr, {useClass: preloadCache.NodeXhr}), + provide(ConnectionBackend, {useClass: preloadCache.NodeXhrBackend}), + + provide(Http, {useClass: preloadCache.NgPreloadCacheHttp}) +]; + + +export const HTTP_PROVIDERS = NODE_HTTP_PROVIDERS.concat([ + provide(PLATFORM_INITIALIZER, {useValue: () => { + console.warn( + 'DEPRECATION WARNING: `HTTP_PROVIDERS` is no longer supported for `angular2-universal` and will be removed in next release. Please use `NODE_HTTP_PROVIDERS`'); + }, multi: true}) +]); diff --git a/modules/universal/server/src/http/node_http.ts b/modules/universal/server/src/http/node_http.ts index 80b57fae33a3..48c18ad8e8d5 100644 --- a/modules/universal/server/src/http/node_http.ts +++ b/modules/universal/server/src/http/node_http.ts @@ -1,111 +1,76 @@ import { - provide, - OpaqueToken, - Injectable, - Optional, - Inject, - EventEmitter, - NgZone -} from 'angular2/core'; - -import {Observable} from 'rxjs'; - -import { - Http, Connection, ConnectionBackend, - // XHRConnection, - XHRBackend, - RequestOptions, - ResponseType, - ResponseOptions, - ResponseOptionsArgs, - RequestOptionsArgs, - BaseResponseOptions, - BaseRequestOptions, + Headers, + ReadyState, Request, + RequestMethod, Response, - ReadyState, - BrowserXhr, - RequestMethod + ResponseOptions, + ResponseType } from 'angular2/http'; -import {MockBackend} from 'angular2/src/http/backends/mock_backend'; - - -import {isPresent, isBlank, CONST_EXPR} from 'angular2/src/facade/lang'; - -// CJS -import {XMLHttpRequest} from 'xhr2'; - - -export const BASE_URL: OpaqueToken = CONST_EXPR(new OpaqueToken('baseUrl')); +import * as utils from 'angular2/src/http/http_utils'; +import {isPresent} from 'angular2/src/facade/lang'; +import {Injectable} from 'angular2/core'; +import {Observable} from 'rxjs/Observable'; +import 'rxjs/add/operator/map'; +import * as http from 'http'; +import * as url from 'url'; + +export class NodeConnection implements Connection { + public readyState: ReadyState; + public request: Request; + public response: Observable<Response>; + + constructor(req: Request, baseResponseOptions?: ResponseOptions) { + this.request = req; -export const PRIME_CACHE: OpaqueToken = CONST_EXPR(new OpaqueToken('primeCache')); + let reqInfo: any = url.parse(req.url); + reqInfo.method = RequestMethod[req.method].toUpperCase(); -export function buildBaseUrl(url: string, existing?: boolean): any { - let prop = existing ? 'useExisting' : 'useValue'; - return provide(BASE_URL, { [prop]: url }); -} + if (isPresent(req.headers)) { + reqInfo.headers = {}; + req.headers.forEach((values, name) => reqInfo.headers[name] = values.join(',')); + } -class NodeConnection implements Connection { - request: Request; - /** - * Response {@link EventEmitter} which emits a single {@link Response} value on load event of - * `XMLHttpRequest`. - */ - response: any; // TODO: Make generic of <Response>; - readyState: ReadyState; - constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions) { - this.request = req; this.response = new Observable(responseObserver => { - let _xhr: any = browserXHR.build(); - _xhr.open(RequestMethod[req.method].toUpperCase(), req.url); - // load event handler - let onLoad = () => { - // responseText is the old-school way of retrieving response (supported by IE8 & 9) - // response/responseType properties were introduced in XHR Level2 spec (supported by - // IE10) - let response = ('response' in _xhr) ? _xhr.response : _xhr.responseText; - - // normalize IE9 bug (http://bugs.jquery.com/ticket/1450) - let status = _xhr.status === 1223 ? 204 : _xhr.status; + let nodeReq = http.request(reqInfo, (res: http.IncomingMessage) => { + let body = ''; + res.on('data', (chunk) => body += chunk); + + let status = res.statusCode; + let headers = new Headers(res.headers); + let url = res.url; + + res.on('end', () => { + let responseOptions = new ResponseOptions({body, status, headers, url}); + let response = new Response(responseOptions); + + if (utils.isSuccess(status)) { + responseObserver.next(response); + responseObserver.complete(); + return; + } + responseObserver.error(response); + }); + }); - // fix status code when it is 0 (0 status is undocumented). - // Occurs when accessing file resources or on Android 4.1 stock browser - // while retrieving files from application cache. - if (status === 0) { - status = response ? 200 : 0; - } - var responseOptions = new ResponseOptions({body: response, status: status}); - if (isPresent(baseResponseOptions)) { - responseOptions = baseResponseOptions.merge(responseOptions); - } - responseObserver.next(new Response(responseOptions)); - // TODO(gdi2290): defer complete if array buffer until done - responseObserver.complete(); - }; - // error event handler let onError = (err) => { - var responseOptions = new ResponseOptions({body: err, type: ResponseType.Error}); + let responseOptions = new ResponseOptions({body: err, type: ResponseType.Error}); if (isPresent(baseResponseOptions)) { responseOptions = baseResponseOptions.merge(responseOptions); } responseObserver.error(new Response(responseOptions)); }; - if (isPresent(req.headers)) { - req.headers.forEach((values, name) => _xhr.setRequestHeader(name, values.join(','))); - } + nodeReq.on('error', onError); - _xhr.addEventListener('load', onLoad); - _xhr.addEventListener('error', onError); - - _xhr.send(this.request.text()); + nodeReq.write(req.text()); + nodeReq.end(); return () => { - _xhr.removeEventListener('load', onLoad); - _xhr.removeEventListener('error', onError); - _xhr.abort(); + nodeReq.removeListener('error', onError); + nodeReq.abort(); }; }); } @@ -113,143 +78,9 @@ class NodeConnection implements Connection { @Injectable() -export class NodeXhr { - _baseUrl: string; - constructor(@Optional() @Inject(BASE_URL) baseUrl?: string) { - - if (isBlank(baseUrl)) { - throw new Error('No base url set. Please provide a BASE_URL bindings.'); - } - - this._baseUrl = baseUrl; - - } - build() { - let xhr = new XMLHttpRequest(); - xhr.nodejsSet({ baseUrl: this._baseUrl }); - return xhr; - } -} - -@Injectable() -export class NodeBackend { - constructor(private _browserXHR: BrowserXhr, private _baseResponseOptions: ResponseOptions) { - } - createConnection(request: any): Connection { - return new NodeConnection(request, this._browserXHR, this._baseResponseOptions); - } -} - - -@Injectable() -export class NgPreloadCacheHttp extends Http { - _async: number = 0; - _callId: number = 0; - _rootNode; - _activeNode; - constructor( - protected _backend: ConnectionBackend, - protected _defaultOptions: RequestOptions, - @Inject(NgZone) protected _ngZone: NgZone, - @Optional() @Inject(PRIME_CACHE) protected prime?: boolean) { - - super(_backend, _defaultOptions); - - var _rootNode = { children: [], res: null }; - this._rootNode = _rootNode; - this._activeNode = _rootNode; - - - } - - preload(factory) { - - var obs = new EventEmitter(true); - - var currentNode = null; - - if (isPresent(this._activeNode)) { - currentNode = { children: [], res: null }; - this._activeNode.children.push(currentNode); - } - - // We need this to ensure all ajax calls are done before rendering the app - this._async += 1; - var request = factory(); - - request.subscribe({ - next: (response) => { - let headers = {}; - response.headers.forEach((value, name) => { - headers[name] = value; - }); - - let res = (<any>Object).assign({}, response, { headers }); - - if (isPresent(currentNode)) { - currentNode.res = res; - } - obs.next(response); - }, - error: (e) => { - this._async -= 1; - obs.error(e); - }, - complete: () => { - this._activeNode = currentNode; - this._async -= 1; - this._activeNode = null; - obs.complete(); - } - }); - - return request; - } - - request(url: string | Request, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.request(url, options) : this.preload(() => super.request(url, options)); - } - - get(url: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.get(url, options) : this.preload(() => super.get(url, options)); - - } - - post(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.post(url, body, options) : this.preload(() => super.post(url, body, options)); - } - - put(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.put(url, body, options) : this.preload(() => super.put(url, body, options)); - } - - delete(url: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.delete(url, options) : this.preload(() => super.delete(url, options)); - - } - - patch(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.patch(url, body, options) : this.preload(() => super.patch(url, body, options)); - } - - head(url: string, options?: RequestOptionsArgs): Observable<Response> { - return isBlank(this.prime) ? super.head(url, options) : this.preload(() => super.head(url, options)); +export class NodeBackend implements ConnectionBackend { + constructor(private _baseResponseOptions: ResponseOptions) {} + public createConnection(request: Request): NodeConnection { + return new NodeConnection(request, this._baseResponseOptions); } - - } - - -export var NODE_HTTP_PROVIDERS: Array<any> = [ - provide(BASE_URL, {useValue: ''}), - provide(PRIME_CACHE, {useValue: false}), - provide(RequestOptions, {useClass: BaseRequestOptions}), - provide(ResponseOptions, {useClass: BaseResponseOptions}), - - provide(BrowserXhr, {useClass: NodeXhr}), - provide(ConnectionBackend, {useClass: NodeBackend}), - - provide(Http, {useClass: NgPreloadCacheHttp}) -]; - -export const HTTP_PROVIDERS = NODE_HTTP_PROVIDERS; diff --git a/modules/universal/server/src/http/preload_cache.ts b/modules/universal/server/src/http/preload_cache.ts new file mode 100644 index 000000000000..5d8bd843f167 --- /dev/null +++ b/modules/universal/server/src/http/preload_cache.ts @@ -0,0 +1,239 @@ +import { + provide, + OpaqueToken, + Injectable, + Optional, + Inject, + EventEmitter, + NgZone +} from 'angular2/core'; + +import {Observable} from 'rxjs'; + +import { + Http, + Connection, + ConnectionBackend, + // XHRConnection, + XHRBackend, + RequestOptions, + ResponseType, + ResponseOptions, + ResponseOptionsArgs, + RequestOptionsArgs, + BaseResponseOptions, + BaseRequestOptions, + Request, + Response, + ReadyState, + BrowserXhr, + RequestMethod +} from 'angular2/http'; +import {MockBackend} from 'angular2/src/http/backends/mock_backend'; + + +import {isPresent, isBlank, CONST_EXPR} from 'angular2/src/facade/lang'; + +// CJS +import {XMLHttpRequest} from 'xhr2'; + + +export const BASE_URL: OpaqueToken = CONST_EXPR(new OpaqueToken('baseUrl')); + +export const PRIME_CACHE: OpaqueToken = CONST_EXPR(new OpaqueToken('primeCache')); + +export function buildBaseUrl(url: string, existing?: boolean): any { + let prop = existing ? 'useExisting' : 'useValue'; + return provide(BASE_URL, { [prop]: url }); +} + +export class NodeXhrConnection implements Connection { + request: Request; + /** + * Response {@link EventEmitter} which emits a single {@link Response} value on load event of + * `XMLHttpRequest`. + */ + response: any; // TODO: Make generic of <Response>; + readyState: ReadyState; + constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions) { + this.request = req; + this.response = new Observable(responseObserver => { + let _xhr: any = browserXHR.build(); + _xhr.open(RequestMethod[req.method].toUpperCase(), req.url); + // load event handler + let onLoad = () => { + // responseText is the old-school way of retrieving response (supported by IE8 & 9) + // response/responseType properties were introduced in XHR Level2 spec (supported by + // IE10) + let response = ('response' in _xhr) ? _xhr.response : _xhr.responseText; + + // normalize IE9 bug (http://bugs.jquery.com/ticket/1450) + let status = _xhr.status === 1223 ? 204 : _xhr.status; + + // fix status code when it is 0 (0 status is undocumented). + // Occurs when accessing file resources or on Android 4.1 stock browser + // while retrieving files from application cache. + if (status === 0) { + status = response ? 200 : 0; + } + var responseOptions = new ResponseOptions({body: response, status: status}); + if (isPresent(baseResponseOptions)) { + responseOptions = baseResponseOptions.merge(responseOptions); + } + responseObserver.next(new Response(responseOptions)); + // TODO(gdi2290): defer complete if array buffer until done + responseObserver.complete(); + }; + // error event handler + let onError = (err) => { + var responseOptions = new ResponseOptions({body: err, type: ResponseType.Error}); + if (isPresent(baseResponseOptions)) { + responseOptions = baseResponseOptions.merge(responseOptions); + } + responseObserver.error(new Response(responseOptions)); + }; + + if (isPresent(req.headers)) { + req.headers.forEach((values, name) => _xhr.setRequestHeader(name, values.join(','))); + } + + _xhr.addEventListener('load', onLoad); + _xhr.addEventListener('error', onError); + + _xhr.send(this.request.text()); + + return () => { + _xhr.removeEventListener('load', onLoad); + _xhr.removeEventListener('error', onError); + _xhr.abort(); + }; + }); + } +} + + +@Injectable() +export class NodeXhr { + _baseUrl: string; + constructor(@Optional() @Inject(BASE_URL) baseUrl?: string) { + + if (isBlank(baseUrl)) { + throw new Error('No base url set. Please provide a BASE_URL bindings.'); + } + + this._baseUrl = baseUrl; + + } + build() { + let xhr = new XMLHttpRequest(); + xhr.nodejsSet({ baseUrl: this._baseUrl }); + return xhr; + } +} + +@Injectable() +export class NodeXhrBackend { + constructor(private _browserXHR: BrowserXhr, private _baseResponseOptions: ResponseOptions) { + } + createConnection(request: any): Connection { + return new NodeXhrConnection(request, this._browserXHR, this._baseResponseOptions); + } +} + +@Injectable() +export class NgPreloadCacheHttp extends Http { + _async: number = 0; + _callId: number = 0; + _rootNode; + _activeNode; + constructor( + protected _backend: ConnectionBackend, + protected _defaultOptions: RequestOptions, + @Inject(NgZone) protected _ngZone: NgZone, + @Optional() @Inject(PRIME_CACHE) protected prime?: boolean) { + + super(_backend, _defaultOptions); + + var _rootNode = { children: [], res: null }; + this._rootNode = _rootNode; + this._activeNode = _rootNode; + + + } + + preload(factory) { + + var obs = new EventEmitter(true); + + var currentNode = null; + + if (isPresent(this._activeNode)) { + currentNode = { children: [], res: null }; + this._activeNode.children.push(currentNode); + } + + // We need this to ensure all ajax calls are done before rendering the app + this._async += 1; + var request = factory(); + + request.subscribe({ + next: (response) => { + let headers = {}; + response.headers.forEach((value, name) => { + headers[name] = value; + }); + + let res = (<any>Object).assign({}, response, { headers }); + + if (isPresent(currentNode)) { + currentNode.res = res; + } + obs.next(response); + }, + error: (e) => { + this._async -= 1; + obs.error(e); + }, + complete: () => { + this._activeNode = currentNode; + this._async -= 1; + this._activeNode = null; + obs.complete(); + } + }); + + return request; + } + + request(url: string | Request, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.request(url, options) : this.preload(() => super.request(url, options)); + } + + get(url: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.get(url, options) : this.preload(() => super.get(url, options)); + + } + + post(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.post(url, body, options) : this.preload(() => super.post(url, body, options)); + } + + put(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.put(url, body, options) : this.preload(() => super.put(url, body, options)); + } + + delete(url: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.delete(url, options) : this.preload(() => super.delete(url, options)); + + } + + patch(url: string, body: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.patch(url, body, options) : this.preload(() => super.patch(url, body, options)); + } + + head(url: string, options?: RequestOptionsArgs): Observable<Response> { + return isBlank(this.prime) ? super.head(url, options) : this.preload(() => super.head(url, options)); + } + + +}
e3320600a689e3f261027448e9a66b56ef4d0d52
2021-06-28 18:17:55
Renovate Bot
build: update @angular/dev-infra-private commit hash to 5879ecd
false
update @angular/dev-infra-private commit hash to 5879ecd
build
diff --git a/package.json b/package.json index bd38afa0b402..705c62b87bf5 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@angular/compiler": "12.1.0", "@angular/compiler-cli": "12.1.0", "@angular/core": "12.1.0", - "@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#b7fdfb81be3af1fcd3441579759e9f3503368f79", + "@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#5879ecd963467fef55d090c45ebaddc80088107c", "@angular/platform-browser": "12.1.0", "@angular/platform-browser-dynamic": "12.1.0", "@angular/platform-server": "12.1.0", diff --git a/yarn.lock b/yarn.lock index a3ae972a9edb..50a00424846d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -220,10 +220,10 @@ dependencies: tslib "^2.0.0" -"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#b7fdfb81be3af1fcd3441579759e9f3503368f79": +"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#5879ecd963467fef55d090c45ebaddc80088107c": version "0.0.0" - uid b7fdfb81be3af1fcd3441579759e9f3503368f79 - resolved "https://github.com/angular/dev-infra-private-builds.git#b7fdfb81be3af1fcd3441579759e9f3503368f79" + uid "5879ecd963467fef55d090c45ebaddc80088107c" + resolved "https://github.com/angular/dev-infra-private-builds.git#5879ecd963467fef55d090c45ebaddc80088107c" dependencies: "@angular/benchpress" "0.2.1" "@bazel/buildifier" "^4.0.1"
f46432a0e0fa60a9818fba118b0e5fc0ba5ad6eb
2020-01-29 00:15:28
Alan Agius
test: disable flaky ci test
false
disable flaky ci test
test
diff --git a/modules/builders/src/ssr-dev-server/index.spec.ts b/modules/builders/src/ssr-dev-server/index.spec.ts index cafe437ae578..5c6016cdab64 100644 --- a/modules/builders/src/ssr-dev-server/index.spec.ts +++ b/modules/builders/src/ssr-dev-server/index.spec.ts @@ -39,7 +39,10 @@ describe('Serve SSR Builder', () => { runs = []; }); - it('works', async () => { + // todo: alan-agius4: Investigate why this tests passed locally but fails in CI. + // this is currenty disabled but still useful locally + // tslint:disable-next-line: ban + xit('works', async () => { host.writeMultipleFiles({ 'src/app/app.component.ts': ` import { Component, Optional, Inject } from '@angular/core';
8107eddf32bcae8436ed5b5bcc8896270d721f4b
2021-10-13 00:38:34
Joey Perrott
docs: update CHANGELOG.md readme to include entry separators
false
update CHANGELOG.md readme to include entry separators
docs
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d01ad6da153..ae6cd1ab32b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -248,6 +248,8 @@ Alan Agius, Charles Lyding, Doug Parker and Paul Gschwendtner Alan Agius and Charles Lyding +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.7"></a> # 12.2.7 (2021-09-22) @@ -285,6 +287,8 @@ Alan Agius and Charles Lyding Alan Agius, Charles Lyding and Joey Perrott +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.6"></a> # 12.2.6 (2021-09-15) @@ -305,6 +309,8 @@ Alan Agius, Charles Lyding and Joey Perrott Alan Agius +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.4"></a> # 13.0.0-next.4 (2021-09-08) @@ -319,6 +325,8 @@ Alan Agius Alan Agius, Charles Lyding and Doug Parker +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.5"></a> # 12.2.5 (2021-09-08) @@ -334,6 +342,8 @@ Alan Agius, Charles Lyding and Doug Parker Alan Agius and Charles Lyding +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.3"></a> # 13.0.0-next.3 (2021-09-01) @@ -383,6 +393,8 @@ Note: this change only affects users depending on `@angular-devkit/build-webpack Alan Agius and Joey Perrott +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.4"></a> # 12.2.4 (2021-09-01) @@ -398,6 +410,8 @@ Alan Agius and Joey Perrott Alan Agius +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.2"></a> # 13.0.0-next.2 (2021-08-26) @@ -424,6 +438,8 @@ Alan Agius Alan Agius, Charles Lyding, Doug Parker, Lukas Spirig and Trevor Karjanis +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.3"></a> # 12.2.3 (2021-08-26) @@ -438,6 +454,8 @@ Alan Agius, Charles Lyding, Doug Parker, Lukas Spirig and Trevor Karjanis Alan Agius and Trevor Karjanis +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.1"></a> # 13.0.0-next.1 (2021-08-18) @@ -459,6 +477,8 @@ The deprecated JSON parser has been removed from public API. [jsonc-parser](http Alan Agius, Charles Lyding, Douglas Parker, Joey Perrott and Simon Primetzhofer +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.2"></a> # 12.2.2 (2021-08-18) @@ -481,6 +501,8 @@ Alan Agius, Charles Lyding, Douglas Parker, Joey Perrott and Simon Primetzhofer Alan Agius, Charles Lyding, Joey Perrott and Simon Primetzhofer +<!-- CHANGELOG SPLIT MARKER --> + <a name="13.0.0-next.0"></a> # 13.0.0-next.0 (2021-08-11) @@ -612,6 +634,8 @@ With this change we remove the following deprecated APIs Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and originalfrostig +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.1"></a> # 12.2.1 (2021-08-11) @@ -642,6 +666,8 @@ Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and originalfrostig Alan Agius and Charles Lyding +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.0"></a> # 12.2.0 (2021-08-04) @@ -715,6 +741,8 @@ Alan Agius and Charles Lyding Alan Agius, Charles Lyding, David Scourfield, Doug Parker, hien-pham, Joey Perrott, LeonEck, Mike Jancar, twerske, Vaibhav Singh and originalfrostig +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.0-rc.0"></a> # 12.2.0-rc.0 (2021-07-28) @@ -741,6 +769,8 @@ Jancar, twerske, Vaibhav Singh and originalfrostig Alan Agius, Charles Lyding, Joey Perrott and originalfrostig +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.1.4"></a> # 12.1.4 (2021-07-28) @@ -773,6 +803,8 @@ Alan Agius, Charles Lyding, Joey Perrott and originalfrostig Alan Agius, Charles Lyding, Joey Perrott and originalfrostig +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.2.0-next.3"></a> # 12.2.0-next.3 (2021-07-21) @@ -795,6 +827,8 @@ Alan Agius, Charles Lyding, Joey Perrott and originalfrostig Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar +<!-- CHANGELOG SPLIT MARKER --> + <a name="12.1.3"></a> # 12.1.3 (2021-07-21) @@ -817,6 +851,8 @@ Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.2.0-next.2"></a> # v12.2.0-next.2 (2021-07-14) @@ -1143,6 +1179,8 @@ Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar Alan Agius, Charles Lyding, Joey Perrott +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.2"></a> # v12.1.2 (2021-07-14) @@ -1422,6 +1460,8 @@ Alan Agius, Charles Lyding, Joey Perrott Alan Agius, Charles Lyding, Joey Perrott, Terence D. Honles +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.1"></a> # v12.1.1 (2021-07-01) @@ -1591,6 +1631,9 @@ Alan Agius, Charles Lyding, Joey Perrott, Terence D. Honles # Special Thanks Alan Agius, Charles Lyding, Doug Parker + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.2.0-next.1"></a> # v12.2.0-next.1 (2021-07-01) @@ -1777,6 +1820,9 @@ Alan Agius, Charles Lyding, Doug Parker # Special Thanks Alan Agius, Charles Lyding, Doug Parker + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.2.0-next.0"></a> # v12.2.0-next.0 (2021-06-24) @@ -1928,6 +1974,9 @@ Alan Agius, Charles Lyding, Doug Parker # Special Thanks Alan Agius, Charles Lyding, Doug Parker, Vaibhav Singh, Joey Perrott, twerske, David Scourfield, hien-pham + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0"></a> # v12.1.0 (2021-06-24) @@ -2355,6 +2404,9 @@ Alan Agius, Charles Lyding, Doug Parker, Vaibhav Singh, Joey Perrott, twerske, D # Special Thanks Alan Agius, Charles Lyding, Doug Parker, Joey Perrott, Bjarki, Vaibhav Singh, twerske, David Scourfield, hien-pham, Alberto Calvo, Paul Gschwendtner, Keen Yee Liau + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0-next.6"></a> # v12.1.0-next.6 (2021-06-17) @@ -2514,6 +2566,9 @@ Alan Agius, Charles Lyding, Doug Parker, Joey Perrott, Bjarki, Vaibhav Singh, tw # Special Thanks Alan Agius, Joey Perrott, Alberto Calvo, Charles Lyding + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.5"></a> # v12.0.5 (2021-06-17) @@ -2603,6 +2658,8 @@ Alan Agius, Joey Perrott, Alberto Calvo, Charles Lyding Alan Agius, Joey Perrott +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0-next.5"></a> # v12.1.0-next.5 (2021-06-10) @@ -2946,6 +3003,9 @@ Alan Agius, Joey Perrott # Special Thanks Charles Lyding, Alan Agius, Doug Parker, Santosh Mahto, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.4"></a> # v12.0.4 (2021-06-09) @@ -3229,6 +3289,9 @@ Charles Lyding, Alan Agius, Doug Parker, Santosh Mahto, Joey Perrott # Special Thanks Alan Agius, Charles Lyding, Santosh Mahto, Joey Perrott, Doug Parker + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.3"></a> # v12.0.3 (2021-06-02) @@ -3528,6 +3591,9 @@ Alan Agius, Charles Lyding, Santosh Mahto, Joey Perrott, Doug Parker # Special Thanks Alan Agius, Doug Parker, Charles Lyding, why520crazy + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0-next.4"></a> # v12.1.0-next.4 (2021-06-02) @@ -3810,6 +3876,9 @@ Alan Agius, Doug Parker, Charles Lyding, why520crazy # Special Thanks Alan Agius, Doug Parker, Charles Lyding, why520crazy + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0-next.3"></a> # v12.1.0-next.3 (2021-05-26) @@ -4107,6 +4176,9 @@ Alan Agius, Doug Parker, Charles Lyding, why520crazy # Special Thanks Alan Agius, Charles Lyding, Doug Parker, Bjarki, Hassan Sani, JoostK, George Kalpakas, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.2"></a> # v12.0.2 (2021-05-26) @@ -4374,6 +4446,9 @@ Alan Agius, Charles Lyding, Doug Parker, Bjarki, Hassan Sani, JoostK, George Kal # Special Thanks Alan Agius, Charles Lyding, Doug Parker, Hassan Sani, JoostK, George Kalpakas, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.1"></a> # v12.0.1 (2021-05-19) @@ -4745,6 +4820,8 @@ Alan Agius, Charles Lyding, Doug Parker, Hassan Sani, JoostK, George Kalpakas, J Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Patil, Ryan Lester, Terence D. Honles, Alan Cohen +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.1.0-next.2"></a> # v12.1.0-next.2 (2021-05-19) @@ -5102,6 +5179,9 @@ Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Pa # Special Thanks Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Patil, Ryan Lester, Alan Cohen, Paul Gschwendtner + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0"></a> # v12.0.0 (2021-05-12) @@ -7126,6 +7206,9 @@ After # Special Thanks Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, Doug Parker, Cédric Exbrayat, Douglas Parker, George Kalpakas, Sam Bulatov, Joshua Chapman, Santosh Yadav, David Shevitz, Kristiyan Kostadinov + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-rc.3"></a> # v12.0.0-rc.3 (2021-05-10) @@ -7210,6 +7293,9 @@ Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, Doug Parker, Cédric Ex # Special Thanks Alan Agius, Charles Lyding, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-rc.2"></a> # v12.0.0-rc.2 (2021-05-05) @@ -7406,6 +7492,9 @@ Alan Agius, Charles Lyding, Joey Perrott # Special Thanks Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-rc.1"></a> # v12.0.0-rc.1 (2021-04-28) @@ -7669,6 +7758,9 @@ Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker # Special Thanks Alan Agius, Charles Lyding, Joey Perrott, Cédric Exbrayat, Doug Parker, Joshua Chapman, Billy Lando, Santosh Yadav, mzocateli + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-rc.0"></a> # v12.0.0-rc.0 (2021-04-21) @@ -8006,6 +8098,9 @@ A number of browser and server builder options have had their default values cha # Special Thanks Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, David Shevitz + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.9"></a> # v12.0.0-next.9 (2021-04-14) @@ -8368,6 +8463,9 @@ new Worker(new URL('./app.worker', import.meta.url), ...) # Special Thanks Alan Agius, Charles Lyding, Keen Yee Liau, Doug Parker, Douglas Parker + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.8"></a> # v12.0.0-next.8 (2021-04-07) @@ -8484,6 +8582,9 @@ The deprecated `i18nFormat` option has been removed and the `format` option shou # Special Thanks Charles Lyding, Renovate Bot, Alan Agius, Doug Parker, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.7"></a> # v12.0.0-next.7 (2021-04-02) @@ -8718,6 +8819,9 @@ the application may need to be updated to become Ivy compatible. # Special Thanks Charles Lyding, Alan Agius, Renovate Bot, George Kalpakas, Joey Perrott, Keen Yee Liau + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.6"></a> # v12.0.0-next.6 (2021-03-24) @@ -8815,6 +8919,9 @@ Charles Lyding, Alan Agius, Renovate Bot, George Kalpakas, Joey Perrott, Keen Ye # Special Thanks Renovate Bot, Alan Agius, Charles Lyding, Keen Yee Liau + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.5"></a> # v12.0.0-next.5 (2021-03-18) @@ -9258,6 +9365,9 @@ A `--skip-confirmation` option has been added to skip the prompt and directly in # Special Thanks Alan Agius, Charles Lyding, Renovate Bot, Doug Parker, Cédric Exbrayat, Kristiyan Kostadinov, Mouad Ennaciri, Omar Hasan + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.4"></a> # v12.0.0-next.4 (2021-03-10) @@ -9549,6 +9659,9 @@ The following options which were used to support the above syntax were removed w # Special Thanks Alan Agius, Charles Lyding, Renovate Bot, Joey Perrott + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.3"></a> # v12.0.0-next.3 (2021-03-03) @@ -9651,6 +9764,9 @@ See: https://angular.io/guide/workspace-config#optimization-configuration # Special Thanks Renovate Bot, Charles Lyding, Alan Agius, Keen Yee Liau, Douglas Parker, twerske + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.2"></a> # v12.0.0-next.2 (2021-02-24) @@ -9793,6 +9909,9 @@ Renovate Bot, Charles Lyding, Alan Agius, Keen Yee Liau, Douglas Parker, twerske # Special Thanks Renovate Bot, Charles Lyding, Alan Agius, Doug Parker, Joey Perrott, Jefiozie, George Kalpakas, Keen Yee Liau + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.1"></a> # v12.0.0-next.1 (2021-02-17) @@ -10016,6 +10135,9 @@ Minimum supported `karma` version is `6.0.0` # Special Thanks Renovate Bot, Alan Agius, Charles Lyding, Keen Yee Liau, Aravind V Nair + +<!-- CHANGELOG SPLIT MARKER --> + <a name="v12.0.0-next.0"></a> # v12.0.0-next.0 (2021-02-11)
2fc8076a4b72d77df3900a4e419e64bd8e5da9bc
2024-03-23 00:51:33
Charles Lyding
refactor(@angular-devkit/build-angular): directly configure internal babel plugins for application builder
false
directly configure internal babel plugins for application builder
refactor
diff --git a/packages/angular_devkit/build_angular/src/tools/babel/plugins/index.ts b/packages/angular_devkit/build_angular/src/tools/babel/plugins/index.ts new file mode 100644 index 000000000000..7f1bff038f49 --- /dev/null +++ b/packages/angular_devkit/build_angular/src/tools/babel/plugins/index.ts @@ -0,0 +1,12 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +export { default as adjustStaticMembers } from './adjust-static-class-members'; +export { default as adjustTypeScriptEnums } from './adjust-typescript-enums'; +export { default as elideAngularMetadata } from './elide-angular-metadata'; +export { default as markTopLevelPure } from './pure-toplevel-functions'; diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/javascript-transformer-worker.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/javascript-transformer-worker.ts index b4fe58828e3a..cc2db729c653 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/javascript-transformer-worker.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/javascript-transformer-worker.ts @@ -6,9 +6,10 @@ * found in the LICENSE file at https://angular.io/license */ -import { transformAsync } from '@babel/core'; +import { type PluginItem, transformAsync } from '@babel/core'; +import fs from 'node:fs'; +import path from 'node:path'; import Piscina from 'piscina'; -import angularApplicationPreset, { requiresLinking } from '../../tools/babel/presets/application'; import { loadEsmModule } from '../../utils/load-esm'; interface JavaScriptTransformRequest { @@ -37,10 +38,18 @@ export default async function transformJavaScript( return Piscina.move(textEncoder.encode(transformedData)); } +/** + * Cached instance of the compiler-cli linker's createEs2015LinkerPlugin function. + */ let linkerPluginCreator: | typeof import('@angular/compiler-cli/linker/babel').createEs2015LinkerPlugin | undefined; +/** + * Cached instance of the compiler-cli linker's needsLinking function. + */ +let needsLinking: typeof import('@angular/compiler-cli/linker').needsLinking | undefined; + async function transformWithBabel( filename: string, data: string, @@ -51,22 +60,36 @@ async function transformWithBabel( options.sourcemap && (!!options.thirdPartySourcemaps || !/[\\/]node_modules[\\/]/.test(filename)); - // If no additional transformations are needed, return the data directly - if (!options.advancedOptimizations && !shouldLink) { - // Strip sourcemaps if they should not be used - return useInputSourcemap ? data : data.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm, ''); - } - - const sideEffectFree = options.sideEffects === false; - const safeAngularPackage = sideEffectFree && /[\\/]node_modules[\\/]@angular[\\/]/.test(filename); + const plugins: PluginItem[] = []; // Lazy load the linker plugin only when linking is required if (shouldLink) { - linkerPluginCreator ??= ( - await loadEsmModule<typeof import('@angular/compiler-cli/linker/babel')>( - '@angular/compiler-cli/linker/babel', - ) - ).createEs2015LinkerPlugin; + const linkerPlugin = await createLinkerPlugin(options); + plugins.push(linkerPlugin); + } + + if (options.advancedOptimizations) { + const sideEffectFree = options.sideEffects === false; + const safeAngularPackage = + sideEffectFree && /[\\/]node_modules[\\/]@angular[\\/]/.test(filename); + + const { adjustStaticMembers, adjustTypeScriptEnums, elideAngularMetadata, markTopLevelPure } = + await import('../babel/plugins'); + + if (safeAngularPackage) { + plugins.push(markTopLevelPure); + } + + plugins.push(elideAngularMetadata, adjustTypeScriptEnums, [ + adjustStaticMembers, + { wrapDecorators: sideEffectFree }, + ]); + } + + // If no additional transformations are needed, return the data directly + if (plugins.length === 0) { + // Strip sourcemaps if they should not be used + return useInputSourcemap ? data : data.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm, ''); } const result = await transformAsync(data, { @@ -77,23 +100,7 @@ async function transformWithBabel( configFile: false, babelrc: false, browserslistConfigFile: false, - plugins: [], - presets: [ - [ - angularApplicationPreset, - { - angularLinker: linkerPluginCreator && { - shouldLink, - jitMode: options.jit, - linkerPluginCreator, - }, - optimize: options.advancedOptimizations && { - pureTopLevel: safeAngularPackage, - wrapDecorators: sideEffectFree, - }, - }, - ], - ], + plugins, }); const outputCode = result?.code ?? data; @@ -104,3 +111,67 @@ async function transformWithBabel( ? outputCode : outputCode.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm, ''); } + +async function requiresLinking(path: string, source: string): Promise<boolean> { + // @angular/core and @angular/compiler will cause false positives + // Also, TypeScript files do not require linking + if (/[\\/]@angular[\\/](?:compiler|core)|\.tsx?$/.test(path)) { + return false; + } + + if (!needsLinking) { + // Load ESM `@angular/compiler-cli/linker` using the TypeScript dynamic import workaround. + // Once TypeScript provides support for keeping the dynamic import this workaround can be + // changed to a direct dynamic import. + const linkerModule = await loadEsmModule<typeof import('@angular/compiler-cli/linker')>( + '@angular/compiler-cli/linker', + ); + needsLinking = linkerModule.needsLinking; + } + + return needsLinking(path, source); +} + +async function createLinkerPlugin(options: Omit<JavaScriptTransformRequest, 'filename' | 'data'>) { + linkerPluginCreator ??= ( + await loadEsmModule<typeof import('@angular/compiler-cli/linker/babel')>( + '@angular/compiler-cli/linker/babel', + ) + ).createEs2015LinkerPlugin; + + const linkerPlugin = linkerPluginCreator({ + linkerJitMode: options.jit, + // This is a workaround until https://github.com/angular/angular/issues/42769 is fixed. + sourceMapping: false, + logger: { + level: 1, // Info level + debug(...args: string[]) { + // eslint-disable-next-line no-console + console.debug(args); + }, + info(...args: string[]) { + // eslint-disable-next-line no-console + console.info(args); + }, + warn(...args: string[]) { + // eslint-disable-next-line no-console + console.warn(args); + }, + error(...args: string[]) { + // eslint-disable-next-line no-console + console.error(args); + }, + }, + fileSystem: { + resolve: path.resolve, + exists: fs.existsSync, + dirname: path.dirname, + relative: path.relative, + readFile: fs.readFileSync, + // Node.JS types don't overlap the Compiler types. + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } as any, + }); + + return linkerPlugin; +}
3a409c1bc61f6be2da06747d3a735c892b366641
2019-12-17 03:57:51
Vikram Subramanian
release: v9.0.0-rc.10
false
v9.0.0-rc.10
release
diff --git a/package.json b/package.json index 2acb23f759f2..b8b279908926 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nguniversal", "main": "index.js", - "version": "9.0.0-next.9", + "version": "9.0.0-next.10", "private": true, "description": "Universal (isomorphic) JavaScript support for Angular", "homepage": "https://github.com/angular/universal",
44c25511ea2adbd4fbe82a6122fc00af612be8e8
2022-08-04 23:56:30
Alan Agius
feat(@angular-devkit/build-angular): add ability to serve service worker when using dev-server
false
add ability to serve service worker when using dev-server
feat
diff --git a/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts b/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts index 106e572d7128..dcc9bccc6496 100644 --- a/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts +++ b/packages/angular_devkit/build_angular/src/builders/dev-server/index.ts @@ -43,6 +43,7 @@ import { getStylesConfig, } from '../../webpack/configs'; import { IndexHtmlWebpackPlugin } from '../../webpack/plugins/index-html-webpack-plugin'; +import { ServiceWorkerPlugin } from '../../webpack/plugins/service-worker-plugin'; import { createWebpackLoggingCallback } from '../../webpack/utils/stats'; import { Schema as BrowserBuilderSchema, OutputHashing } from '../browser/schema'; import { Schema } from './schema'; @@ -205,6 +206,8 @@ export function serveWebpackBrowser( webpackConfig = await transforms.webpackConfiguration(webpackConfig); } + webpackConfig.plugins ??= []; + if (browserOptions.index) { const { scripts = [], styles = [], baseHref } = browserOptions; const entrypoints = generateEntryPoints({ @@ -216,7 +219,6 @@ export function serveWebpackBrowser( isHMREnabled: !!webpackConfig.devServer?.hot, }); - webpackConfig.plugins ??= []; webpackConfig.plugins.push( new IndexHtmlWebpackPlugin({ indexPath: path.resolve(workspaceRoot, getIndexInputFile(browserOptions.index)), @@ -234,6 +236,18 @@ export function serveWebpackBrowser( ); } + if (browserOptions.serviceWorker) { + webpackConfig.plugins.push( + new ServiceWorkerPlugin({ + baseHref: browserOptions.baseHref, + root: context.workspaceRoot, + projectRoot, + outputPath: path.join(context.workspaceRoot, browserOptions.outputPath), + ngswConfigPath: browserOptions.ngswConfigPath, + }), + ); + } + return { browserOptions, webpackConfig, diff --git a/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts b/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts new file mode 100644 index 000000000000..13e80c7058c6 --- /dev/null +++ b/packages/angular_devkit/build_angular/src/builders/dev-server/tests/behavior/serve_service-worker_spec.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +// eslint-disable-next-line import/no-extraneous-dependencies +import fetch from 'node-fetch'; +import { concatMap, count, take, timeout } from 'rxjs/operators'; +import { serveWebpackBrowser } from '../../index'; +import { executeOnceAndFetch } from '../execute-fetch'; +import { + BASE_OPTIONS, + BUILD_TIMEOUT, + DEV_SERVER_BUILDER_INFO, + describeBuilder, + setupBrowserTarget, +} from '../setup'; + +describeBuilder(serveWebpackBrowser, DEV_SERVER_BUILDER_INFO, (harness) => { + const manifest = { + index: '/index.html', + assetGroups: [ + { + name: 'app', + installMode: 'prefetch', + resources: { + files: ['/favicon.ico', '/index.html'], + }, + }, + { + name: 'assets', + installMode: 'lazy', + updateMode: 'prefetch', + resources: { + files: ['/assets/**', '/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)'], + }, + }, + ], + }; + + describe('Behavior: "dev-server builder serves service worker"', () => { + it('works with service worker', async () => { + setupBrowserTarget(harness, { + serviceWorker: true, + assets: ['src/favicon.ico', 'src/assets'], + styles: ['src/styles.css'], + }); + + await harness.writeFiles({ + 'ngsw-config.json': JSON.stringify(manifest), + 'src/assets/folder-asset.txt': 'folder-asset.txt', + 'src/styles.css': `body { background: url(./spectrum.png); }`, + }); + + harness.useTarget('serve', { + ...BASE_OPTIONS, + }); + + const { result, response } = await executeOnceAndFetch(harness, '/ngsw.json'); + + expect(result?.success).toBeTrue(); + + expect(await response?.json()).toEqual( + jasmine.objectContaining({ + configVersion: 1, + index: '/index.html', + navigationUrls: [ + { positive: true, regex: '^\\/.*$' }, + { positive: false, regex: '^\\/(?:.+\\/)?[^/]*\\.[^/]*$' }, + { positive: false, regex: '^\\/(?:.+\\/)?[^/]*__[^/]*$' }, + { positive: false, regex: '^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$' }, + ], + assetGroups: [ + { + name: 'app', + installMode: 'prefetch', + updateMode: 'prefetch', + urls: ['/favicon.ico', '/index.html'], + cacheQueryOptions: { + ignoreVary: true, + }, + patterns: [], + }, + { + name: 'assets', + installMode: 'lazy', + updateMode: 'prefetch', + urls: ['/assets/folder-asset.txt', '/spectrum.png'], + cacheQueryOptions: { + ignoreVary: true, + }, + patterns: [], + }, + ], + dataGroups: [], + hashTable: { + '/favicon.ico': '84161b857f5c547e3699ddfbffc6d8d737542e01', + '/assets/folder-asset.txt': '617f202968a6a81050aa617c2e28e1dca11ce8d4', + '/index.html': 'cb8ad8c81cd422699d6d831b6f25ad4481f2c90a', + '/spectrum.png': '8d048ece46c0f3af4b598a95fd8e4709b631c3c0', + }, + }), + ); + }); + + it('works in watch mode', async () => { + setupBrowserTarget(harness, { + serviceWorker: true, + watch: true, + assets: ['src/favicon.ico', 'src/assets'], + styles: ['src/styles.css'], + }); + + await harness.writeFiles({ + 'ngsw-config.json': JSON.stringify(manifest), + 'src/assets/folder-asset.txt': 'folder-asset.txt', + 'src/styles.css': `body { background: url(./spectrum.png); }`, + }); + + harness.useTarget('serve', { + ...BASE_OPTIONS, + }); + + const buildCount = await harness + .execute() + .pipe( + timeout(BUILD_TIMEOUT), + concatMap(async ({ result }, index) => { + expect(result?.success).toBeTrue(); + const response = await fetch(new URL('ngsw.json', `${result?.baseUrl}`)); + const { hashTable } = await response.json(); + const hashTableEntries = Object.keys(hashTable); + + switch (index) { + case 0: + expect(hashTableEntries).toEqual([ + '/assets/folder-asset.txt', + '/favicon.ico', + '/index.html', + '/spectrum.png', + ]); + + await harness.writeFile( + 'src/assets/folder-new-asset.txt', + harness.readFile('src/assets/folder-asset.txt'), + ); + break; + + case 1: + expect(hashTableEntries).toEqual([ + '/assets/folder-asset.txt', + '/assets/folder-new-asset.txt', + '/favicon.ico', + '/index.html', + '/spectrum.png', + ]); + break; + } + }), + take(2), + count(), + ) + .toPromise(); + + expect(buildCount).toBe(2); + }); + }); +}); diff --git a/packages/angular_devkit/build_angular/src/utils/service-worker.ts b/packages/angular_devkit/build_angular/src/utils/service-worker.ts index af8e14d775ef..95fe08123031 100644 --- a/packages/angular_devkit/build_angular/src/utils/service-worker.ts +++ b/packages/angular_devkit/build_angular/src/utils/service-worker.ts @@ -8,34 +8,31 @@ import type { Config, Filesystem } from '@angular/service-worker/config'; import * as crypto from 'crypto'; -import { createReadStream, promises as fs, constants as fsConstants } from 'fs'; +import { constants as fsConstants, promises as fsPromises } from 'fs'; import * as path from 'path'; -import { pipeline } from 'stream'; import { assertIsError } from './error'; import { loadEsmModule } from './load-esm'; class CliFilesystem implements Filesystem { - constructor(private base: string) {} + constructor(private fs: typeof fsPromises, private base: string) {} list(dir: string): Promise<string[]> { return this._recursiveList(this._resolve(dir), []); } read(file: string): Promise<string> { - return fs.readFile(this._resolve(file), 'utf-8'); + return this.fs.readFile(this._resolve(file), 'utf-8'); } - hash(file: string): Promise<string> { - return new Promise((resolve, reject) => { - const hash = crypto.createHash('sha1').setEncoding('hex'); - pipeline(createReadStream(this._resolve(file)), hash, (error) => - error ? reject(error) : resolve(hash.read()), - ); - }); + async hash(file: string): Promise<string> { + return crypto + .createHash('sha1') + .update(await this.fs.readFile(this._resolve(file))) + .digest('hex'); } - write(file: string, content: string): Promise<void> { - return fs.writeFile(this._resolve(file), content); + write(_file: string, _content: string): never { + throw new Error('This should never happen.'); } private _resolve(file: string): string { @@ -44,12 +41,15 @@ class CliFilesystem implements Filesystem { private async _recursiveList(dir: string, items: string[]): Promise<string[]> { const subdirectories = []; - for await (const entry of await fs.opendir(dir)) { - if (entry.isFile()) { + for (const entry of await this.fs.readdir(dir)) { + const entryPath = path.join(dir, entry); + const stats = await this.fs.stat(entryPath); + + if (stats.isFile()) { // Uses posix paths since the service worker expects URLs - items.push('/' + path.relative(this.base, path.join(dir, entry.name)).replace(/\\/g, '/')); - } else if (entry.isDirectory()) { - subdirectories.push(path.join(dir, entry.name)); + items.push('/' + path.relative(this.base, entryPath).replace(/\\/g, '/')); + } else if (stats.isDirectory()) { + subdirectories.push(entryPath); } } @@ -67,6 +67,8 @@ export async function augmentAppWithServiceWorker( outputPath: string, baseHref: string, ngswConfigPath?: string, + inputputFileSystem = fsPromises, + outputFileSystem = fsPromises, ): Promise<void> { // Determine the configuration file path const configPath = ngswConfigPath @@ -76,7 +78,7 @@ export async function augmentAppWithServiceWorker( // Read the configuration file let config: Config | undefined; try { - const configurationData = await fs.readFile(configPath, 'utf-8'); + const configurationData = await inputputFileSystem.readFile(configPath, 'utf-8'); config = JSON.parse(configurationData) as Config; } catch (error) { assertIsError(error); @@ -101,36 +103,37 @@ export async function augmentAppWithServiceWorker( ).Generator; // Generate the manifest - const generator = new GeneratorConstructor(new CliFilesystem(outputPath), baseHref); + const generator = new GeneratorConstructor( + new CliFilesystem(outputFileSystem, outputPath), + baseHref, + ); const output = await generator.process(config); // Write the manifest const manifest = JSON.stringify(output, null, 2); - await fs.writeFile(path.join(outputPath, 'ngsw.json'), manifest); + await outputFileSystem.writeFile(path.join(outputPath, 'ngsw.json'), manifest); // Find the service worker package const workerPath = require.resolve('@angular/service-worker/ngsw-worker.js'); + const copy = async (src: string, dest: string): Promise<void> => { + const resolvedDest = path.join(outputPath, dest); + + return inputputFileSystem === outputFileSystem + ? // Native FS (Builder). + inputputFileSystem.copyFile(workerPath, resolvedDest, fsConstants.COPYFILE_FICLONE) + : // memfs (Webpack): Read the file from the input FS (disk) and write it to the output FS (memory). + outputFileSystem.writeFile(resolvedDest, await inputputFileSystem.readFile(src)); + }; + // Write the worker code - await fs.copyFile( - workerPath, - path.join(outputPath, 'ngsw-worker.js'), - fsConstants.COPYFILE_FICLONE, - ); + await copy(workerPath, 'ngsw-worker.js'); // If present, write the safety worker code - const safetyPath = path.join(path.dirname(workerPath), 'safety-worker.js'); try { - await fs.copyFile( - safetyPath, - path.join(outputPath, 'worker-basic.min.js'), - fsConstants.COPYFILE_FICLONE, - ); - await fs.copyFile( - safetyPath, - path.join(outputPath, 'safety-worker.js'), - fsConstants.COPYFILE_FICLONE, - ); + const safetyPath = path.join(path.dirname(workerPath), 'safety-worker.js'); + await copy(safetyPath, 'worker-basic.min.js'); + await copy(safetyPath, 'safety-worker.js'); } catch (error) { assertIsError(error); if (error.code !== 'ENOENT') { diff --git a/packages/angular_devkit/build_angular/src/webpack/plugins/service-worker-plugin.ts b/packages/angular_devkit/build_angular/src/webpack/plugins/service-worker-plugin.ts new file mode 100644 index 000000000000..0e32faf3749a --- /dev/null +++ b/packages/angular_devkit/build_angular/src/webpack/plugins/service-worker-plugin.ts @@ -0,0 +1,40 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import type { Compiler } from 'webpack'; +import { augmentAppWithServiceWorker } from '../../utils/service-worker'; + +export interface ServiceWorkerPluginOptions { + projectRoot: string; + root: string; + outputPath: string; + baseHref?: string; + ngswConfigPath?: string; +} + +export class ServiceWorkerPlugin { + constructor(private readonly options: ServiceWorkerPluginOptions) {} + + apply(compiler: Compiler) { + compiler.hooks.done.tapPromise('angular-service-worker', async (_compilation) => { + const { projectRoot, root, baseHref = '', ngswConfigPath, outputPath } = this.options; + + await augmentAppWithServiceWorker( + projectRoot, + root, + outputPath, + baseHref, + ngswConfigPath, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (compiler.inputFileSystem as any).promises, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (compiler.outputFileSystem as any).promises, + ); + }); + } +}
98f0ba2ea9ac76e7b65a8ebb100b41a1b2a070e8
2021-04-20 19:57:41
Charles Lyding
test(@ngtools/webpack): directly test `elideImports` function
false
directly test `elideImports` function
test
diff --git a/packages/ngtools/webpack/src/transformers/elide_imports_spec.ts b/packages/ngtools/webpack/src/transformers/elide_imports_spec.ts index 997e60ec8af6..133c08abb758 100644 --- a/packages/ngtools/webpack/src/transformers/elide_imports_spec.ts +++ b/packages/ngtools/webpack/src/transformers/elide_imports_spec.ts @@ -8,9 +8,7 @@ // tslint:disable:no-big-function import { tags } from '@angular-devkit/core'; // tslint:disable-line:no-implicit-dependencies import * as ts from 'typescript'; -import { getLastNode } from './ast_helpers'; -import { RemoveNodeOperation } from './interfaces'; -import { makeTransform } from './make_transform'; +import { elideImports } from './elide_imports'; import { createTypescriptContext, transformTypescript } from './spec_helpers'; describe('@ngtools/webpack transformers', () => { @@ -18,13 +16,42 @@ describe('@ngtools/webpack transformers', () => { const dummyNode = `const remove = ''`; - const transformer = (program: ts.Program) => ( - makeTransform( - (sourceFile: ts.SourceFile) => - [new RemoveNodeOperation(sourceFile, getLastNode(sourceFile) as ts.Node)], - () => program.getTypeChecker(), - ) - ); + // Transformer that removes the last node and then elides unused imports + const transformer = (program: ts.Program) => { + return (context: ts.TransformationContext) => { + + return (sourceFile: ts.SourceFile) => { + const lastNode = sourceFile.statements[sourceFile.statements.length - 1]; + const updatedSourceFile = context.factory.updateSourceFile( + sourceFile, + ts.setTextRange( + context.factory.createNodeArray(sourceFile.statements.slice(0, -1)), + sourceFile.statements, + ), + ); + + const importRemovals = elideImports( + updatedSourceFile, + [lastNode], + () => program.getTypeChecker(), + context.getCompilerOptions(), + ).map((op) => op.target); + if (importRemovals.length > 0) { + return ts.visitEachChild( + updatedSourceFile, + function visitForRemoval(node): ts.Node | undefined { + return importRemovals.includes(node) + ? undefined + : ts.visitEachChild(node, visitForRemoval, context); + }, + context, + ); + } + + return updatedSourceFile; + }; + }; + }; const additionalFiles: Record<string, string> = { 'const.ts': `
53994ce1bbbbf4ff77a889bf74d499d9370fcf61
2017-02-18 00:42:39
Filipe Silva
refactor(@angular/cli): remove version from schema.json (#4796)
false
remove version from schema.json (#4796)
refactor
diff --git a/packages/@angular/cli/lib/config/schema.json b/packages/@angular/cli/lib/config/schema.json index 74fd44d26ce9..c3c3ad42cef6 100644 --- a/packages/@angular/cli/lib/config/schema.json +++ b/packages/@angular/cli/lib/config/schema.json @@ -11,10 +11,6 @@ "description": "The global configuration of the project.", "type": "object", "properties": { - "version": { - "type": "string", - "description": "The version of @angular/cli in the project." - }, "name": { "description": "The name of the project.", "type": "string"